about summary refs log tree commit diff
path: root/src/librustc_data_structures
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-10-23 04:05:50 +0000
committerbors <bors@rust-lang.org>2018-10-23 04:05:50 +0000
commitd570b36cd9dd0a3c1b94e6fc4004ee5557140d31 (patch)
treef13031b3fda69007a6bb6ea2d8d448e0e9c923bd /src/librustc_data_structures
parent979fb16db9649bf7d9e2f979f8e0630689eefc0e (diff)
parent18f7db3d69377ebf85b6ff3a319445411f4b16b1 (diff)
downloadrust-d570b36cd9dd0a3c1b94e6fc4004ee5557140d31.tar.gz
rust-d570b36cd9dd0a3c1b94e6fc4004ee5557140d31.zip
Auto merge of #54778 - scottmcm:stabilize-ihle, r=pnkfelix
Stabilize impl_header_lifetime_elision in 2015

~~This is currently blocked on https://github.com/rust-lang/rust/issues/54902; it should be good after that~~

It's already stable in 2018; this finishes the stabilization.

FCP completed (https://github.com/rust-lang/rust/issues/15872#issuecomment-417953153), proposal (https://github.com/rust-lang/rust/issues/15872#issuecomment-412759783).

Tracking issue: https://github.com/rust-lang/rust/issues/15872
Usage examples (from libcore): https://github.com/rust-lang/rust/pull/54687
Diffstat (limited to 'src/librustc_data_structures')
-rw-r--r--src/librustc_data_structures/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs
index 5b01892dcb3..b197d29b184 100644
--- a/src/librustc_data_structures/lib.rs
+++ b/src/librustc_data_structures/lib.rs
@@ -21,7 +21,7 @@
       html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![feature(in_band_lifetimes)]
-#![feature(impl_header_lifetime_elision)]
+#![cfg_attr(stage0, feature(impl_header_lifetime_elision))]
 #![feature(unboxed_closures)]
 #![feature(fn_traits)]
 #![feature(unsize)]