auto merge of : jfager/rust/r6334, r=pnkfelix

Closes 
This commit is contained in:
bors 2014-08-06 17:31:19 +00:00
commit dd20f09611
2 changed files with 2 additions and 3 deletions
src
librustc/middle/typeck
test/run-pass

@ -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
}
@ -1340,4 +1342,3 @@ fn check_method_self_type<RS:RegionScope>(
_ => {}
}
}

@ -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.