]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #53214 - memoryruins:nll_bootstrap_2, r=nikomatsakis
authorkennytm <kennytm@gmail.com>
Thu, 9 Aug 2018 13:35:23 +0000 (21:35 +0800)
committerkennytm <kennytm@gmail.com>
Thu, 9 Aug 2018 17:01:31 +0000 (01:01 +0800)
[nll] enable feature(nll) on various crates for bootstrap: part 2

#53172

src/libarena/lib.rs
src/librustc_asan/lib.rs
src/librustc_errors/lib.rs
src/librustc_passes/lib.rs
src/librustc_plugin/lib.rs
src/librustc_privacy/lib.rs
src/librustc_resolve/lib.rs
src/librustc_save_analysis/lib.rs
src/librustc_traits/lib.rs
src/librustc_tsan/lib.rs

index 0f4a5d16e1759aa1a4a0f957930fc5b02235c757..265721c749755628f4f1f0b262f6bbf7e3c7bea4 100644 (file)
@@ -26,6 +26,7 @@
 #![feature(alloc)]
 #![feature(core_intrinsics)]
 #![feature(dropck_eyepatch)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(raw_vec_internals)]
 #![cfg_attr(test, feature(test))]
 
index 0c78fd74a234ee01091ae813c400b30afc8c575f..b3ba86ad8a4b32af8f7f6629cca53f8891221b8f 100644 (file)
@@ -10,6 +10,7 @@
 
 #![sanitizer_runtime]
 #![feature(alloc_system)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(sanitizer_runtime)]
 #![feature(staged_api)]
 #![no_std]
index 82546747755f9f2b4b54df6580045eda78d188ee..1666369e422cadc5c7a02c06ddf31771fde237a2 100644 (file)
@@ -16,6 +16,7 @@
 #![allow(unused_attributes)]
 #![feature(range_contains)]
 #![cfg_attr(unix, feature(libc))]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(optin_builtin_traits)]
 
 extern crate atty;
index 41f1e7829658ab097353ca1a3fa7b26061d9226b..d62cb00923f7047411ff3a17d5da3886d33d6ea9 100644 (file)
@@ -18,6 +18,7 @@
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/")]
 
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(rustc_diagnostic_macros)]
 
 #[macro_use]
index 348aa6a7cef4c7678c85c7e43dde9ca7ea9aef43..67f53a67313f798f1f9d2979d9f57e0a949095af 100644 (file)
@@ -64,6 +64,7 @@
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/")]
 
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(rustc_diagnostic_macros)]
 
 #[macro_use] extern crate syntax;
index b6dd0e8b9b21db9d2d440199675bb736ad46c216..fcb1b65014be0afb476066aaf991b7e98948d1b5 100644 (file)
@@ -12,6 +12,7 @@
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/")]
 
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(rustc_diagnostic_macros)]
 
 #![recursion_limit="256"]
index 7e54f176e102b2fca3dee9a43c168eced9d0a96b..8ff44834929064e7661e9a69382caa98caffb4f9 100644 (file)
@@ -13,6 +13,7 @@
       html_root_url = "https://doc.rust-lang.org/nightly/")]
 
 #![feature(crate_visibility_modifier)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(rustc_diagnostic_macros)]
 #![feature(slice_sort_by_cached_key)]
 
index e256f1761f146655aa8b76de226997cad52f949c..50aa48e8c5249801eee25eeb1613ea76e058db45 100644 (file)
@@ -12,6 +12,7 @@
        html_favicon_url = "https://doc.rust-lang.org/favicon.ico",
        html_root_url = "https://doc.rust-lang.org/nightly/")]
 #![feature(custom_attribute)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![allow(unused_attributes)]
 
 #![recursion_limit="256"]
index d17cf35f1816ae2eba259d647d775c7c70df132d..ba6b2c57bfac6a15f71b9058d578b75c90957e3b 100644 (file)
@@ -16,6 +16,7 @@
 #![feature(extern_prelude)]
 #![feature(iterator_find_map)]
 #![feature(in_band_lifetimes)]
+#![cfg_attr(not(stage0), feature(nll))]
 
 #![recursion_limit="256"]
 
index 0c78fd74a234ee01091ae813c400b30afc8c575f..b3ba86ad8a4b32af8f7f6629cca53f8891221b8f 100644 (file)
@@ -10,6 +10,7 @@
 
 #![sanitizer_runtime]
 #![feature(alloc_system)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(sanitizer_runtime)]
 #![feature(staged_api)]
 #![no_std]