Skip to content

Commit

Permalink
Remove no longer accurate diagnostic code about NLL
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Feb 14, 2019
1 parent c67d474 commit 23993e8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/librustc/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -408,11 +408,7 @@ fn bar(x: &str, y: &str) -> &str { }
fn baz<'a>(x: &'a str, y: &str) -> &str { }
```
Lifetime elision in implementation headers was part of the lifetime elision
RFC. It is, however, [currently unimplemented][iss15872].
[book-le]: https://doc.rust-lang.org/book/ch10-03-lifetime-syntax.html#lifetime-elision
[iss15872]: https://github.com/rust-lang/rust/issues/15872
"##,

E0119: r##"
Expand Down

0 comments on commit 23993e8

Please sign in to comment.