Skip to content

Commit

Permalink
auto merge of #15985 : jfager/rust/r6334, r=pnkfelix
Browse files Browse the repository at this point in the history
 Closes #6334
  • Loading branch information
bors committed Aug 6, 2014
2 parents e5df5f5 + 08f033b commit dd20f09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/librustc/middle/typeck/collect.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1218,6 +1218,8 @@ fn ty_generics(ccx: &CrateCtxt,

check_bounds_compatible(ccx.tcx, &param_bounds, ident, span);

param_bounds.trait_bounds.sort_by(|a,b| a.def_id.cmp(&b.def_id));

param_bounds
}

Expand Down Expand Up @@ -1340,4 +1342,3 @@ fn check_method_self_type<RS:RegionScope>(
_ => {}
}
}

2 changes: 0 additions & 2 deletions src/test/run-pass/issue-6334.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-test

// Tests that everything still compiles and runs fine even when
// we reorder the bounds.

Expand Down

0 comments on commit dd20f09

Please sign in to comment.