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