about summary refs log tree commit diff
diff options
context:
space:
mode:
authormemoryruins <memoryruinsmusic@gmail.com>2018-08-09 01:50:22 -0400
committermemoryruins <memoryruinsmusic@gmail.com>2018-08-09 01:50:22 -0400
commit1c3d20eb41189e87b94f63a8caad7cd1acd61528 (patch)
treea3bc5b4e53c171c6806972224cc91552583b036b
parent98d94223a5471eef6d031b8c2f91589b020d76e6 (diff)
downloadrust-1c3d20eb41189e87b94f63a8caad7cd1acd61528.tar.gz
rust-1c3d20eb41189e87b94f63a8caad7cd1acd61528.zip
liballoc_system: enable feature(nll) for bootstrap
-rw-r--r--src/liballoc_system/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index 8e30b0d5d5a..c5e056f6b12 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -14,8 +14,10 @@
             reason = "this library is unlikely to be stabilized in its current \
                       form or name",
             issue = "32838")]
+
 #![feature(allocator_api)]
 #![feature(core_intrinsics)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(staged_api)]
 #![feature(rustc_attrs)]
 #![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]