Skip to content

Commit bb0151c

Browse files
committed
Rollup merge of rust-lang#53211 - memoryruins:nll_bootstrap, r=nikomatsakis
[nll] enable feature(nll) on various crates for bootstrap rust-lang#53172
2 parents 746abc3 + ce7f0c4 commit bb0151c

File tree

7 files changed

+8
-0
lines changed

7 files changed

+8
-0
lines changed

src/liballoc/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676

7777
#![cfg_attr(not(test), feature(fn_traits))]
7878
#![cfg_attr(not(test), feature(generator_trait))]
79+
#![cfg_attr(not(stage0), feature(nll))]
7980
#![cfg_attr(test, feature(test))]
8081

8182
#![feature(allocator_api)]

src/liballoc_jemalloc/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#![feature(core_intrinsics)]
1717
#![feature(libc)]
1818
#![feature(linkage)]
19+
#![cfg_attr(not(stage0), feature(nll))]
1920
#![feature(staged_api)]
2021
#![feature(rustc_attrs)]
2122
#![cfg_attr(dummy_jemalloc, allow(dead_code, unused_extern_crates))]

src/liballoc_system/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
reason = "this library is unlikely to be stabilized in its current \
1515
form or name",
1616
issue = "32838")]
17+
1718
#![feature(allocator_api)]
1819
#![feature(core_intrinsics)]
20+
#![cfg_attr(not(stage0), feature(nll))]
1921
#![feature(staged_api)]
2022
#![feature(rustc_attrs)]
2123
#![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]

src/libgraphviz/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@
288288
html_root_url = "https://doc.rust-lang.org/nightly/",
289289
test(attr(allow(unused_variables), deny(warnings))))]
290290

291+
#![cfg_attr(not(stage0), feature(nll))]
291292
#![feature(str_escape)]
292293

293294
use self::LabelText::*;

src/librustc_borrowck/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414

1515
#![allow(non_camel_case_types)]
1616

17+
#![cfg_attr(not(stage0), feature(nll))]
1718
#![feature(quote)]
1819

1920
#![recursion_limit="256"]

src/librustc_lint/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
#![feature(box_patterns)]
2828
#![feature(box_syntax)]
2929
#![feature(macro_vis_matcher)]
30+
#![cfg_attr(not(stage0), feature(nll))]
3031
#![feature(quote)]
3132
#![feature(rustc_diagnostic_macros)]
3233
#![feature(macro_at_most_once_rep)]

src/librustc_metadata/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#![feature(box_patterns)]
1616
#![feature(libc)]
1717
#![feature(macro_at_most_once_rep)]
18+
#![cfg_attr(not(stage0), feature(nll))]
1819
#![feature(proc_macro_internals)]
1920
#![feature(proc_macro_quote)]
2021
#![feature(quote)]

0 commit comments

Comments
 (0)