]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/traits/issue-85735.rs
Auto merge of #101017 - JohnTitor:rollup-73f2fhb, r=JohnTitor
[rust.git] / src / test / ui / traits / issue-85735.rs
index 16e874ee21e62bbec48d1e884f793946fa2b92a8..fb387a9c909657066c9d9fbe0a617ae46f03d05d 100644 (file)
@@ -5,7 +5,7 @@ trait Foo {}
 impl<'a, 'b, T> Foo for T
 where
     T: FnMut(&'a ()),
-    //~^ ERROR: type annotations needed [E0283]
+    //~^ ERROR: type annotations needed
     T: FnMut(&'b ()),
 {
 }