@@ -5,7 +5,7 @@ error[E0276]: impl has stricter requirements than trait
55 | -------------------------------- definition of `test_error1_fn` from trait
66...
7736 | fn test_error1_fn<T: Ord>(&self) {}
8- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: std::cmp::Ord`
8+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: std::cmp::Ord`
99
1010error[E0276]: impl has stricter requirements than trait
1111 --> $DIR/traits-misc-mismatch-1.rs:40:5
@@ -14,7 +14,7 @@ error[E0276]: impl has stricter requirements than trait
1414 | -------------------------------------- definition of `test_error2_fn` from trait
1515...
161640 | fn test_error2_fn<T: Eq + B>(&self) {}
17- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
17+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
1818
1919error[E0276]: impl has stricter requirements than trait
2020 --> $DIR/traits-misc-mismatch-1.rs:44:5
@@ -23,7 +23,7 @@ error[E0276]: impl has stricter requirements than trait
2323 | -------------------------------------- definition of `test_error3_fn` from trait
2424...
252544 | fn test_error3_fn<T: B + Eq>(&self) {}
26- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
26+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
2727
2828error[E0276]: impl has stricter requirements than trait
2929 --> $DIR/traits-misc-mismatch-1.rs:54:5
@@ -32,7 +32,7 @@ error[E0276]: impl has stricter requirements than trait
3232 | ------------------------------- definition of `test_error5_fn` from trait
3333...
343454 | fn test_error5_fn<T: B>(&self) {}
35- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
35+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: B`
3636
3737error[E0276]: impl has stricter requirements than trait
3838 --> $DIR/traits-misc-mismatch-1.rs:60:5
@@ -41,7 +41,7 @@ error[E0276]: impl has stricter requirements than trait
4141 | ------------------------------- definition of `test_error7_fn` from trait
4242...
434360 | fn test_error7_fn<T: A + Eq>(&self) {}
44- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: std::cmp::Eq`
44+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: std::cmp::Eq`
4545
4646error[E0276]: impl has stricter requirements than trait
4747 --> $DIR/traits-misc-mismatch-1.rs:63:5
@@ -50,7 +50,7 @@ error[E0276]: impl has stricter requirements than trait
5050 | ------------------------------- definition of `test_error8_fn` from trait
5151...
525263 | fn test_error8_fn<T: C>(&self) {}
53- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: C`
53+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `T: C`
5454
5555error[E0276]: impl has stricter requirements than trait
5656 --> $DIR/traits-misc-mismatch-1.rs:76:5
@@ -59,7 +59,7 @@ error[E0276]: impl has stricter requirements than trait
5959 | ---------------------------------- definition of `method` from trait
6060...
616176 | fn method<G: Getter<usize>>(&self) {}
62- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `G: Getter<usize>`
62+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `G: Getter<usize>`
6363
6464error: aborting due to 7 previous errors
6565
0 commit comments