diff options
| author | kennytm <kennytm@gmail.com> | 2019-02-20 01:13:23 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2019-02-20 11:58:35 +0800 |
| commit | 897778ec2881f17f9106477c1d47646c86c60bc7 (patch) | |
| tree | b2e58fe3a7d889a360048bf667fc9c184cf29f8c | |
| parent | 8d1e4323b33ca438643b7aeaba330b19829231c2 (diff) | |
| parent | 23993e89d57b4467d962ed5e4fd277e6b2ed2f0f (diff) | |
| download | rust-897778ec2881f17f9106477c1d47646c86c60bc7.tar.gz rust-897778ec2881f17f9106477c1d47646c86c60bc7.zip | |
Rollup merge of #58456 - lzutao:nll, r=Centril
Remove no longer accurate diagnostic code about NLL r? @steveklabnik
| -rw-r--r-- | src/librustc/diagnostics.rs | 4 |
1 files changed, 0 insertions, 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##" |
