From a63ece43b3d81814160dec4f7869364c5b39652f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 13 Aug 2018 17:30:50 -0400 Subject: [PATCH] enable feature `impl_header_lifetime_elision` --- src/librustc_data_structures/lib.rs | 1 + src/librustc_mir/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/librustc_data_structures/lib.rs b/src/librustc_data_structures/lib.rs index 2e8d9725234..1b62983388f 100644 --- a/src/librustc_data_structures/lib.rs +++ b/src/librustc_data_structures/lib.rs @@ -21,6 +21,7 @@ html_root_url = "https://doc.rust-lang.org/nightly/")] #![feature(in_band_lifetimes)] +#![feature(impl_header_lifetime_elision)] #![feature(unboxed_closures)] #![feature(fn_traits)] #![feature(unsize)] diff --git a/src/librustc_mir/lib.rs b/src/librustc_mir/lib.rs index 617efed31d9..44a73139906 100644 --- a/src/librustc_mir/lib.rs +++ b/src/librustc_mir/lib.rs @@ -17,6 +17,7 @@ Rust MIR: a lowered representation of Rust. Also: an experiment! #![cfg_attr(not(stage0), feature(nll))] #![feature(infer_outlives_requirements)] #![feature(in_band_lifetimes)] +#![feature(impl_header_lifetime_elision)] #![feature(slice_patterns)] #![feature(slice_sort_by_cached_key)] #![feature(box_patterns)]