about summary refs log tree commit diff
path: root/src/libterm
diff options
context:
space:
mode:
authormemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:51:56 -0400
committermemoryruins <memoryruinsmusic@gmail.com>2018-08-09 06:51:56 -0400
commit58836e8a6f3ea21b78084cf3e42ed8fbb18c4e17 (patch)
treef6be0e18c184c61c8b8bb8d96f6724d1fbee023d /src/libterm
parent01c598aa0da07243609eaa9a61b16cb6669b623e (diff)
downloadrust-58836e8a6f3ea21b78084cf3e42ed8fbb18c4e17.tar.gz
rust-58836e8a6f3ea21b78084cf3e42ed8fbb18c4e17.zip
[nll] libterm: enable feature(nll) for bootstrap
Diffstat (limited to 'src/libterm')
-rw-r--r--src/libterm/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libterm/lib.rs b/src/libterm/lib.rs
index cf92ce27ee5..a49fd67639d 100644
--- a/src/libterm/lib.rs
+++ b/src/libterm/lib.rs
@@ -50,6 +50,7 @@
 #![cfg_attr(windows, feature(libc))]
 // Handle rustfmt skips
 #![feature(custom_attribute)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![allow(unused_attributes)]
 
 use std::io::prelude::*;