diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-09 21:35:01 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-08-10 01:01:30 +0800 |
| commit | bb0151c6d4390e99cb1c545bd24f01545344510e (patch) | |
| tree | 40f27f95679be4486e9e2fcce95753173aba34c9 | |
| parent | 746abc32659e193dd97d34ab2fceecebd80dfb38 (diff) | |
| parent | ce7f0c483d4e9e116f4e35a378c6637c808faaab (diff) | |
| download | rust-bb0151c6d4390e99cb1c545bd24f01545344510e.tar.gz rust-bb0151c6d4390e99cb1c545bd24f01545344510e.zip | |
Rollup merge of #53211 - memoryruins:nll_bootstrap, r=nikomatsakis
[nll] enable feature(nll) on various crates for bootstrap #53172
| -rw-r--r-- | src/liballoc/lib.rs | 1 | ||||
| -rw-r--r-- | src/liballoc_jemalloc/lib.rs | 1 | ||||
| -rw-r--r-- | src/liballoc_system/lib.rs | 2 | ||||
| -rw-r--r-- | src/libgraphviz/lib.rs | 1 | ||||
| -rw-r--r-- | src/librustc_borrowck/lib.rs | 1 | ||||
| -rw-r--r-- | src/librustc_lint/lib.rs | 1 | ||||
| -rw-r--r-- | src/librustc_metadata/lib.rs | 1 |
7 files changed, 8 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index d1b607bbe9b..bcdfd8c9aa5 100644 --- a/src/liballoc/lib.rs +++ b/src/liballoc/lib.rs @@ -76,6 +76,7 @@ #![cfg_attr(not(test), feature(fn_traits))] #![cfg_attr(not(test), feature(generator_trait))] +#![cfg_attr(not(stage0), feature(nll))] #![cfg_attr(test, feature(test))] #![feature(allocator_api)] diff --git a/src/liballoc_jemalloc/lib.rs b/src/liballoc_jemalloc/lib.rs index b3b20715511..480a24b9bd1 100644 --- a/src/liballoc_jemalloc/lib.rs +++ b/src/liballoc_jemalloc/lib.rs @@ -16,6 +16,7 @@ #![feature(core_intrinsics)] #![feature(libc)] #![feature(linkage)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(staged_api)] #![feature(rustc_attrs)] #![cfg_attr(dummy_jemalloc, allow(dead_code, unused_extern_crates))] diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs index 8e30b0d5d5a..c5e056f6b12 100644 --- a/src/liballoc_system/lib.rs +++ b/src/liballoc_system/lib.rs @@ -14,8 +14,10 @@ reason = "this library is unlikely to be stabilized in its current \ form or name", issue = "32838")] + #![feature(allocator_api)] #![feature(core_intrinsics)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(staged_api)] #![feature(rustc_attrs)] #![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))] diff --git a/src/libgraphviz/lib.rs b/src/libgraphviz/lib.rs index 158d0101515..a8eea18e464 100644 --- a/src/libgraphviz/lib.rs +++ b/src/libgraphviz/lib.rs @@ -288,6 +288,7 @@ html_root_url = "https://doc.rust-lang.org/nightly/", test(attr(allow(unused_variables), deny(warnings))))] +#![cfg_attr(not(stage0), feature(nll))] #![feature(str_escape)] use self::LabelText::*; diff --git a/src/librustc_borrowck/lib.rs b/src/librustc_borrowck/lib.rs index c7e7465a353..aa85582432b 100644 --- a/src/librustc_borrowck/lib.rs +++ b/src/librustc_borrowck/lib.rs @@ -14,6 +14,7 @@ #![allow(non_camel_case_types)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(quote)] #![recursion_limit="256"] diff --git a/src/librustc_lint/lib.rs b/src/librustc_lint/lib.rs index 75d16232a37..801604d1379 100644 --- a/src/librustc_lint/lib.rs +++ b/src/librustc_lint/lib.rs @@ -27,6 +27,7 @@ #![feature(box_patterns)] #![feature(box_syntax)] #![feature(macro_vis_matcher)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(quote)] #![feature(rustc_diagnostic_macros)] #![feature(macro_at_most_once_rep)] diff --git a/src/librustc_metadata/lib.rs b/src/librustc_metadata/lib.rs index 98946ad6081..a3591b2415a 100644 --- a/src/librustc_metadata/lib.rs +++ b/src/librustc_metadata/lib.rs @@ -15,6 +15,7 @@ #![feature(box_patterns)] #![feature(libc)] #![feature(macro_at_most_once_rep)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(proc_macro_internals)] #![feature(proc_macro_quote)] #![feature(quote)] |
