Skip to content

Commit 97c0c66

Browse files
committed
Remove spurious assertion
1 parent 67176f7 commit 97c0c66

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc/ty/relate.rs

-3
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,6 @@ pub fn super_relate_consts<'a, 'gcx, 'tcx, R>(
596596
where
597597
R: TypeRelation<'a, 'gcx, 'tcx>, 'gcx: 'a+'tcx, 'tcx: 'a
598598
{
599-
// Only consts whose types are equal should be compared.
600-
assert_eq!(a.ty, b.ty);
601-
602599
let tcx = relation.tcx();
603600

604601
// Currently, the values that can be unified are those that

0 commit comments

Comments
 (0)