We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 65f1df5 + b168127 commit 0b02377Copy full SHA for 0b02377
src/librustc/diagnostics.rs
@@ -401,16 +401,6 @@ fn bar(x: &str, y: &str) -> &str { }
401
fn baz<'a>(x: &'a str, y: &str) -> &str { }
402
```
403
404
-Here's an example that is currently an error, but may work in a future version
405
-of Rust:
406
-
407
-```compile_fail,E0106
408
-struct Foo<'a>(&'a str);
409
410
-trait Quux { }
411
-impl Quux for Foo { }
412
-```
413
414
Lifetime elision in implementation headers was part of the lifetime elision
415
RFC. It is, however, [currently unimplemented][iss15872].
416
0 commit comments