Skip to content

Commit

Permalink
Revert "normalize tuple pair types"
Browse files Browse the repository at this point in the history
This reverts commit 7badc32.
  • Loading branch information
arielb1 committed Oct 13, 2016
1 parent d34318d commit 68ca911
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
3 changes: 1 addition & 2 deletions src/librustc_trans/common.rs
Expand Up @@ -114,8 +114,7 @@ pub fn type_pair_fields<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, ty: Ty<'tcx>)
if tys.len() != 2 {
return None;
}
Some([ccx.tcx().normalize_associated_type(&tys[0]),
ccx.tcx().normalize_associated_type(&tys[1])])
Some([tys[0], tys[1]])
}
_ => None
}
Expand Down
25 changes: 0 additions & 25 deletions src/test/run-pass/issue-37109.rs

This file was deleted.

0 comments on commit 68ca911

Please sign in to comment.