about summary refs log tree commit diff
diff options
context:
space:
mode:
authormemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:50:40 -0400
committermemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:50:40 -0400
commitfd4b1a73bf66a28acde7baf83ed53ed8d7ac0a99 (patch)
treeeb34540f4c573c2aaad684e0e576ba04ef4eae37
parentc6be5551be6f04e18eba90650ff9cb36419b318b (diff)
downloadrust-fd4b1a73bf66a28acde7baf83ed53ed8d7ac0a99.tar.gz
rust-fd4b1a73bf66a28acde7baf83ed53ed8d7ac0a99.zip
[nll] librustc_driver: enable feature(nll) for bootstrap
-rw-r--r--src/librustc_driver/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_driver/lib.rs b/src/librustc_driver/lib.rs
index 556ee9f5716..c3bdf07cd20 100644
--- a/src/librustc_driver/lib.rs
+++ b/src/librustc_driver/lib.rs
@@ -20,6 +20,7 @@
 
 #![feature(box_syntax)]
 #![cfg_attr(unix, feature(libc))]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(option_replace)]
 #![feature(quote)]
 #![feature(rustc_diagnostic_macros)]