Skip to content

Commit 93032c1

Browse files
committed
Fully stabilize NLL
1 parent 76d27ab commit 93032c1

File tree

9 files changed

+2
-9
lines changed

9 files changed

+2
-9
lines changed

alloc/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@
166166
#![feature(min_specialization)]
167167
#![feature(negative_impls)]
168168
#![feature(never_type)]
169-
#![feature(nll)] // Not necessary, but here to test the `nll` feature.
170169
#![feature(rustc_allow_const_fn_unstable)]
171170
#![feature(rustc_attrs)]
172171
#![feature(slice_internals)]

panic_abort/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#![panic_runtime]
1010
#![allow(unused_features)]
1111
#![feature(core_intrinsics)]
12-
#![feature(nll)]
1312
#![feature(panic_runtime)]
1413
#![feature(std_internals)]
1514
#![feature(staged_api)]

panic_unwind/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
#![doc(issue_tracker_base_url = "https://github.com/rust-lang/rust/issues/")]
1717
#![feature(core_intrinsics)]
1818
#![feature(lang_items)]
19-
#![feature(nll)]
2019
#![feature(panic_unwind)]
2120
#![feature(staged_api)]
2221
#![feature(std_internals)]

proc_macro/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
// Please avoid unstable features where possible to minimize the amount of changes necessary
2222
// to make it compile with rust-analyzer on stable.
2323
#![feature(rustc_allow_const_fn_unstable)]
24-
#![feature(nll)]
2524
#![feature(staged_api)]
2625
#![feature(allow_internal_unstable)]
2726
#![feature(decl_macro)]

profiler_builtins/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@
77
issue = "none"
88
)]
99
#![allow(unused_features)]
10-
#![feature(nll)]
1110
#![feature(staged_api)]

std/src/keyword_docs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2167,7 +2167,7 @@ mod use_keyword {}
21672167
/// is missing: the `'b` lifetime is not known to live at least as long as `'a`
21682168
/// which means this function cannot ensure it always returns a valid reference:
21692169
///
2170-
/// ```rust,compile_fail,E0623
2170+
/// ```rust,compile_fail
21712171
/// fn select<'a, 'b>(s1: &'a str, s2: &'b str, second: bool) -> &'a str
21722172
/// {
21732173
/// if second { s2 } else { s1 }

std/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
#![feature(needs_panic_runtime)]
249249
#![feature(negative_impls)]
250250
#![feature(never_type)]
251-
#![feature(nll)]
251+
#![cfg_attr(bootstrap, feature(nll))]
252252
#![feature(platform_intrinsics)]
253253
#![feature(prelude_import)]
254254
#![feature(rustc_attrs)]

test/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
#![unstable(feature = "test", issue = "50297")]
1717
#![doc(test(attr(deny(warnings))))]
18-
#![feature(nll)]
1918
#![feature(bench_black_box)]
2019
#![feature(internal_output_capture)]
2120
#![feature(staged_api)]

unwind/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![unstable(feature = "panic_unwind", issue = "32837")]
33
#![feature(link_cfg)]
44
#![feature(native_link_modifiers_bundle)]
5-
#![feature(nll)]
65
#![feature(staged_api)]
76
#![feature(c_unwind)]
87
#![feature(cfg_target_abi)]

0 commit comments

Comments
 (0)