Skip to content

Commit 897778e

Browse files
committed
Rollup merge of rust-lang#58456 - lzutao:nll, r=Centril
Remove no longer accurate diagnostic code about NLL r? @steveklabnik
2 parents 8d1e432 + 23993e8 commit 897778e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/librustc/diagnostics.rs

-4
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,7 @@ fn bar(x: &str, y: &str) -> &str { }
408408
fn baz<'a>(x: &'a str, y: &str) -> &str { }
409409
```
410410
411-
Lifetime elision in implementation headers was part of the lifetime elision
412-
RFC. It is, however, [currently unimplemented][iss15872].
413-
414411
[book-le]: https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html#lifetime-elision
415-
[iss15872]: https://github.com/rust-lang/rust/issues/15872
416412
"##,
417413

418414
E0119: r##"

0 commit comments

Comments
 (0)