about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authormemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:50:25 -0400
committermemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:50:25 -0400
commitc6be5551be6f04e18eba90650ff9cb36419b318b (patch)
treedf6f3f24a89372952b0ae097516feb3a62b8f60a /src
parentb340f563169c2a56e9ed5fd14e51ceb5acd7cd5a (diff)
downloadrust-c6be5551be6f04e18eba90650ff9cb36419b318b.tar.gz
rust-c6be5551be6f04e18eba90650ff9cb36419b318b.zip
[nll] librustc_cratesio_shim: enable feature(nll) for bootstrap
Diffstat (limited to 'src')
-rw-r--r--src/librustc_cratesio_shim/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_cratesio_shim/src/lib.rs b/src/librustc_cratesio_shim/src/lib.rs
index 85a5b331d8c..39087c5f746 100644
--- a/src/librustc_cratesio_shim/src/lib.rs
+++ b/src/librustc_cratesio_shim/src/lib.rs
@@ -11,5 +11,7 @@
 // See Cargo.toml for a comment explaining this crate.
 #![allow(unused_extern_crates)]
 
+#![cfg_attr(not(stage0), feature(nll))]
+
 extern crate bitflags;
 extern crate log;