about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;