about summary refs log tree commit diff
path: root/src/librustc_allocator
diff options
context:
space:
mode:
authormemoryruins <memoryruinsmusic@gmail.com>2018-08-09 09:21:01 -0400
committermemoryruins <memoryruinsmusic@gmail.com>2018-08-09 09:21:01 -0400
commit9207cc9bd90be84edac8d2d331a47adba50e07af (patch)
tree8d581e06c199f55646a5ee26bcfac76201a08892 /src/librustc_allocator
parented55520371c349666ba048a3e602d0b7018bf26d (diff)
downloadrust-9207cc9bd90be84edac8d2d331a47adba50e07af.tar.gz
rust-9207cc9bd90be84edac8d2d331a47adba50e07af.zip
[nll] librustc_allocator: enable feature(nll) for bootstrap
Diffstat (limited to 'src/librustc_allocator')
-rw-r--r--src/librustc_allocator/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_allocator/lib.rs b/src/librustc_allocator/lib.rs
index b217d3665a2..a920bb0f2b9 100644
--- a/src/librustc_allocator/lib.rs
+++ b/src/librustc_allocator/lib.rs
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(rustc_private)]
 
 #[macro_use] extern crate log;