Skip to content

Commit f161630

Browse files
committed
---
yaml --- r: 126431 b: refs/heads/master c: 51e19e7 h: refs/heads/master i: 126429: 6320400 126427: 40d4ab0 126423: 9c82c92 126415: 3a0adb8 126399: f7a958b v: v3
1 parent 726e5b3 commit f161630

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: ffa258846ad7669a67850da9b1d5fa534e87f04f
2+
refs/heads/master: 51e19e750185f60e404412f702f8f2edc7bc1245
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9fc8394d3bce22ab483f98842434c84c396212ae
55
refs/heads/try: cd2003ffd8dd976342f9e8fc1429ae93d6780e81

trunk/src/librustc/middle/typeck/collect.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,6 +1218,8 @@ fn ty_generics(ccx: &CrateCtxt,
12181218

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

1221+
param_bounds.trait_bounds.sort_by(|a,b| a.def_id.cmp(&b.def_id));
1222+
12211223
param_bounds
12221224
}
12231225

@@ -1340,4 +1342,3 @@ fn check_method_self_type<RS:RegionScope>(
13401342
_ => {}
13411343
}
13421344
}
1343-

trunk/src/test/run-pass/issue-6334.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-test
12-
1311
// Tests that everything still compiles and runs fine even when
1412
// we reorder the bounds.
1513

0 commit comments

Comments
 (0)