]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/compare-method/region-unrelated.stderr
New upstream version 1.17.0+dfsg1
[rustc.git] / src / test / ui / compare-method / region-unrelated.stderr
index 4df337c525743f778e21582776fe22c1f9c2194e..9e822bd8b0790097ff4832bd78edadf41677b8e9 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/region-unrelated.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 V: 'a { }
    |     ^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `V: '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>