From 23993e89d57b4467d962ed5e4fd277e6b2ed2f0f Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Thu, 14 Feb 2019 07:40:25 +0000 Subject: [PATCH] Remove no longer accurate diagnostic code about NLL r? @steveklabnik --- src/librustc/diagnostics.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs index f46ff6f6062..00f9fa3a938 100644 --- a/src/librustc/diagnostics.rs +++ b/src/librustc/diagnostics.rs @@ -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##" -- 2.44.0