Skip to content

Commit 7f13a4a

Browse files
committed
Remove FIXME
1 parent 9f788f3 commit 7f13a4a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/librustc/ty/relate.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -557,10 +557,9 @@ pub fn super_relate_consts<R: TypeRelation<'tcx>>(
557557
x.val
558558
};
559559

560-
// Currently, the values that can be unified are those that
561-
// implement both `PartialEq` and `Eq`, corresponding to
562-
// `structural_match` types.
563-
// FIXME(const_generics): check for `structural_match` synthetic attribute.
560+
// Currently, the values that can be unified are primitive types,
561+
// and those that derive both `PartialEq` and `Eq`, corresponding
562+
// to `structural_match` types.
564563
let new_const_val = match (eagerly_eval(a), eagerly_eval(b)) {
565564
(ConstValue::Infer(_), _) | (_, ConstValue::Infer(_)) => {
566565
// The caller should handle these cases!

0 commit comments

Comments
 (0)