Skip to content

Commit 62d70c9

Browse files
committed
Rollup merge of rust-lang#53214 - memoryruins:nll_bootstrap_2, r=nikomatsakis
[nll] enable feature(nll) on various crates for bootstrap: part 2 rust-lang#53172
2 parents bb0151c + 034a96a commit 62d70c9

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

src/libarena/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
#![feature(alloc)]
2727
#![feature(core_intrinsics)]
2828
#![feature(dropck_eyepatch)]
29+
#![cfg_attr(not(stage0), feature(nll))]
2930
#![feature(raw_vec_internals)]
3031
#![cfg_attr(test, feature(test))]
3132

src/librustc_asan/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#![sanitizer_runtime]
1212
#![feature(alloc_system)]
13+
#![cfg_attr(not(stage0), feature(nll))]
1314
#![feature(sanitizer_runtime)]
1415
#![feature(staged_api)]
1516
#![no_std]

src/librustc_errors/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#![allow(unused_attributes)]
1717
#![feature(range_contains)]
1818
#![cfg_attr(unix, feature(libc))]
19+
#![cfg_attr(not(stage0), feature(nll))]
1920
#![feature(optin_builtin_traits)]
2021

2122
extern crate atty;

src/librustc_passes/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
1919
html_root_url = "https://doc.rust-lang.org/nightly/")]
2020

21+
#![cfg_attr(not(stage0), feature(nll))]
2122
#![feature(rustc_diagnostic_macros)]
2223

2324
#[macro_use]

src/librustc_plugin/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@
6464
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
6565
html_root_url = "https://doc.rust-lang.org/nightly/")]
6666

67+
#![cfg_attr(not(stage0), feature(nll))]
6768
#![feature(rustc_diagnostic_macros)]
6869

6970
#[macro_use] extern crate syntax;

src/librustc_privacy/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
1313
html_root_url = "https://doc.rust-lang.org/nightly/")]
1414

15+
#![cfg_attr(not(stage0), feature(nll))]
1516
#![feature(rustc_diagnostic_macros)]
1617

1718
#![recursion_limit="256"]

src/librustc_resolve/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
html_root_url = "https://doc.rust-lang.org/nightly/")]
1414

1515
#![feature(crate_visibility_modifier)]
16+
#![cfg_attr(not(stage0), feature(nll))]
1617
#![feature(rustc_diagnostic_macros)]
1718
#![feature(slice_sort_by_cached_key)]
1819

src/librustc_save_analysis/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
1313
html_root_url = "https://doc.rust-lang.org/nightly/")]
1414
#![feature(custom_attribute)]
15+
#![cfg_attr(not(stage0), feature(nll))]
1516
#![allow(unused_attributes)]
1617

1718
#![recursion_limit="256"]

src/librustc_traits/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#![feature(extern_prelude)]
1717
#![feature(iterator_find_map)]
1818
#![feature(in_band_lifetimes)]
19+
#![cfg_attr(not(stage0), feature(nll))]
1920

2021
#![recursion_limit="256"]
2122

src/librustc_tsan/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
#![sanitizer_runtime]
1212
#![feature(alloc_system)]
13+
#![cfg_attr(not(stage0), feature(nll))]
1314
#![feature(sanitizer_runtime)]
1415
#![feature(staged_api)]
1516
#![no_std]

0 commit comments

Comments
 (0)