From d2e0c782a9483514d4c3ba8c5f4763f20728fa46 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:07:59 -0400 Subject: [PATCH 01/10] [nll] libarena: enable feature(nll) for bootstrap --- src/libarena/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libarena/lib.rs b/src/libarena/lib.rs index 0f4a5d16e17..265721c7497 100644 --- a/src/libarena/lib.rs +++ b/src/libarena/lib.rs @@ -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))] From 742a95149f572a36791f6128a4b75d953ef2760b Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:08:17 -0400 Subject: [PATCH 02/10] [nll] librustc_asan: enable feature(nll) for bootstrap --- src/librustc_asan/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_asan/lib.rs b/src/librustc_asan/lib.rs index 0c78fd74a23..b3ba86ad8a4 100644 --- a/src/librustc_asan/lib.rs +++ b/src/librustc_asan/lib.rs @@ -10,6 +10,7 @@ #![sanitizer_runtime] #![feature(alloc_system)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(sanitizer_runtime)] #![feature(staged_api)] #![no_std] From 80e8e97d9359e364fdf2b902946a795905e4626b Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:08:45 -0400 Subject: [PATCH 03/10] [nll] librustc_errors: enable feature(nll) for bootstrap --- src/librustc_errors/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_errors/lib.rs b/src/librustc_errors/lib.rs index 82546747755..1666369e422 100644 --- a/src/librustc_errors/lib.rs +++ b/src/librustc_errors/lib.rs @@ -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; From 95b64188c990d66fd90d6aa2df0ca6c84739b708 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:09:07 -0400 Subject: [PATCH 04/10] [nll] librustc_passes: enable feature(nll) for bootstrap --- src/librustc_passes/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_passes/lib.rs b/src/librustc_passes/lib.rs index 41f1e782965..d62cb00923f 100644 --- a/src/librustc_passes/lib.rs +++ b/src/librustc_passes/lib.rs @@ -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] From a6b7163c7407a6e7b41f948e4f9d70fe4d4469ab Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:09:29 -0400 Subject: [PATCH 05/10] [nll] librustc_plugin: enable feature(nll) for bootstrap --- src/librustc_plugin/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_plugin/lib.rs b/src/librustc_plugin/lib.rs index 348aa6a7cef..67f53a67313 100644 --- a/src/librustc_plugin/lib.rs +++ b/src/librustc_plugin/lib.rs @@ -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; From 87fb6fc6efffc686432ed0c0e07832eaf7ac6ba4 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:09:50 -0400 Subject: [PATCH 06/10] [nll] librustc_privacy: enable feature(nll) for bootstrap --- src/librustc_privacy/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_privacy/lib.rs b/src/librustc_privacy/lib.rs index b6dd0e8b9b2..fcb1b65014b 100644 --- a/src/librustc_privacy/lib.rs +++ b/src/librustc_privacy/lib.rs @@ -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"] From 03a5694c2d8f1af00de6c24b143c56dd5f33e726 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:10:08 -0400 Subject: [PATCH 07/10] [nll] librustc_resolve: enable feature(nll) for bootstrap --- src/librustc_resolve/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_resolve/lib.rs b/src/librustc_resolve/lib.rs index d96967725f4..4a2361055d7 100644 --- a/src/librustc_resolve/lib.rs +++ b/src/librustc_resolve/lib.rs @@ -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)] From 9fcc6dab8d603e78a47ee5ffd2d41bea25daded7 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:10:26 -0400 Subject: [PATCH 08/10] [nll] librustc_save_analysis: enable feature(nll) for bootstrap --- src/librustc_save_analysis/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_save_analysis/lib.rs b/src/librustc_save_analysis/lib.rs index 703489f56c1..a76e575ebf4 100644 --- a/src/librustc_save_analysis/lib.rs +++ b/src/librustc_save_analysis/lib.rs @@ -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"] From cb49252f57ad2a3aada059e5a915ac512e66c726 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:10:46 -0400 Subject: [PATCH 09/10] [nll] librustc_traits: enable feature(nll) for bootstrap --- src/librustc_traits/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_traits/lib.rs b/src/librustc_traits/lib.rs index d17cf35f181..ba6b2c57bfa 100644 --- a/src/librustc_traits/lib.rs +++ b/src/librustc_traits/lib.rs @@ -16,6 +16,7 @@ #![feature(extern_prelude)] #![feature(iterator_find_map)] #![feature(in_band_lifetimes)] +#![cfg_attr(not(stage0), feature(nll))] #![recursion_limit="256"] From 034a96a0812c79c2f830d371de16f399b5823411 Mon Sep 17 00:00:00 2001 From: memoryruins Date: Thu, 9 Aug 2018 04:11:06 -0400 Subject: [PATCH 10/10] [nll] librustc_tsan: enable feature(nll) for bootstrap --- src/librustc_tsan/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_tsan/lib.rs b/src/librustc_tsan/lib.rs index 0c78fd74a23..b3ba86ad8a4 100644 --- a/src/librustc_tsan/lib.rs +++ b/src/librustc_tsan/lib.rs @@ -10,6 +10,7 @@ #![sanitizer_runtime] #![feature(alloc_system)] +#![cfg_attr(not(stage0), feature(nll))] #![feature(sanitizer_runtime)] #![feature(staged_api)] #![no_std]