Skip to content

Commit 68ca911

Browse files
committed
Revert "normalize tuple pair types"
This reverts commit 7badc32.
1 parent d34318d commit 68ca911

File tree

2 files changed

+1
-27
lines changed

2 files changed

+1
-27
lines changed

src/librustc_trans/common.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ pub fn type_pair_fields<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, ty: Ty<'tcx>)
114114
if tys.len() != 2 {
115115
return None;
116116
}
117-
Some([ccx.tcx().normalize_associated_type(&tys[0]),
118-
ccx.tcx().normalize_associated_type(&tys[1])])
117+
Some([tys[0], tys[1]])
119118
}
120119
_ => None
121120
}

src/test/run-pass/issue-37109.rs

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)