X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibrustc%2Ferror_codes.rs;h=fd089fc688e32d5db01a66650e90a1dfe0a6bbce;hb=c6e13bc20b5664ba9a8bd4152412bcc497e4f041;hp=7f68b35d014cba72237797858644b332305fb062;hpb=00859e3e653973120006aaf3227823062dde1ba7;p=rust.git diff --git a/src/librustc/error_codes.rs b/src/librustc/error_codes.rs index 7f68b35d014..fd089fc688e 100644 --- a/src/librustc/error_codes.rs +++ b/src/librustc/error_codes.rs @@ -362,10 +362,6 @@ struct Foo1 { x: &bool } // ^ expected lifetime parameter struct Foo2<'a> { x: &'a bool } // correct -impl Foo2 {} - // ^^^^ expected lifetime parameter -impl<'a> Foo2<'a> {} // correct - struct Bar1 { x: Foo2 } // ^^^^ expected lifetime parameter struct Bar2<'a> { x: Foo2<'a> } // correct @@ -2208,4 +2204,5 @@ trait Foo { } E0710, // an unknown tool name found in scoped lint E0711, // a feature has been declared with conflicting stability attributes // E0702, // replaced with a generic attribute input check + E0726, // non-explicit (not `'_`) elided lifetime in unsupported position }