You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/compare-method/proj-outlives-region.stderr
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
error[E0276]: impl has stricter requirements than trait, #[deny(extra_requirement_in_impl)] on by default
1
+
error[E0276]: impl has stricter requirements than trait
2
2
--> $DIR/proj-outlives-region.rs:22:5
3
3
|
4
4
17 | fn foo() where T: 'a;
@@ -7,6 +7,7 @@ error[E0276]: impl has stricter requirements than trait, #[deny(extra_requiremen
7
7
22 | fn foo() where U: 'a { } //~ ERROR E0276
8
8
| ^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `U: 'a`
9
9
|
10
+
= note: #[deny(extra_requirement_in_impl)] on by default
10
11
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11
12
= note: for more information, see issue #37166 <https://github.com/rust-lang/rust/issues/37166>
Copy file name to clipboardExpand all lines: src/test/ui/compare-method/region-unrelated.stderr
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
error[E0276]: impl has stricter requirements than trait, #[deny(extra_requirement_in_impl)] on by default
1
+
error[E0276]: impl has stricter requirements than trait
2
2
--> $DIR/region-unrelated.rs:22:5
3
3
|
4
4
17 | fn foo() where T: 'a;
@@ -7,6 +7,7 @@ error[E0276]: impl has stricter requirements than trait, #[deny(extra_requiremen
7
7
22 | fn foo() where V: 'a { }
8
8
| ^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `V: 'a`
9
9
|
10
+
= note: #[deny(extra_requirement_in_impl)] on by default
10
11
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11
12
= note: for more information, see issue #37166 <https://github.com/rust-lang/rust/issues/37166>
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6
+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7
+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8
+
// option. This file may not be copied, modified, or distributed
0 commit comments