Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d570b36

Browse files
committedOct 23, 2018
Auto merge of #54778 - scottmcm:stabilize-ihle, r=pnkfelix
Stabilize impl_header_lifetime_elision in 2015 ~~This is currently blocked on #54902; it should be good after that~~ It's already stable in 2018; this finishes the stabilization. FCP completed (#15872 (comment)), proposal (#15872 (comment)). Tracking issue: #15872 Usage examples (from libcore): #54687
2 parents 979fb16 + 18f7db3 commit d570b36

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+156
-264
lines changed
 

‎src/libcore/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#![feature(doc_spotlight)]
8888
#![feature(extern_types)]
8989
#![feature(fundamental)]
90-
#![feature(impl_header_lifetime_elision)]
90+
#![cfg_attr(stage0, feature(impl_header_lifetime_elision))]
9191
#![feature(intrinsics)]
9292
#![feature(lang_items)]
9393
#![feature(link_llvm_intrinsics)]

‎src/libcore/tests/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#![feature(flt2dec)]
2020
#![feature(fmt_internals)]
2121
#![feature(hashmap_internals)]
22-
#![feature(impl_header_lifetime_elision)]
22+
#![cfg_attr(stage0, feature(impl_header_lifetime_elision))]
2323
#![feature(pattern)]
2424
#![feature(range_is_empty)]
2525
#![feature(raw)]

0 commit comments

Comments
 (0)
Please sign in to comment.