]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/compare-method/proj-outlives-region.stderr
note individual lint name set via lint group attribute in notes
[rust.git] / src / test / ui / compare-method / proj-outlives-region.stderr
index 021b571fe793cd77c84ca3f1a302db1655883077..2a707c6eb8b103b428de32c4fb5f2c64f848b38a 100644 (file)
@@ -1,4 +1,4 @@
-error[E0276]: impl has stricter requirements than trait, #[deny(extra_requirement_in_impl)] on by default
+error[E0276]: impl has stricter requirements than trait
   --> $DIR/proj-outlives-region.rs:22:5
    |
 17 |     fn foo() where T: 'a;
@@ -7,6 +7,7 @@ error[E0276]: impl has stricter requirements than trait, #[deny(extra_requiremen
 22 |     fn foo() where U: 'a { } //~ ERROR E0276
    |     ^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `U: 'a`
    |
+   = note: #[deny(extra_requirement_in_impl)] on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
    = note: for more information, see issue #37166 <https://github.com/rust-lang/rust/issues/37166>