about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc_lsan/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_lsan/lib.rs b/src/librustc_lsan/lib.rs
index 0c78fd74a23..b3ba86ad8a4 100644
--- a/src/librustc_lsan/lib.rs
+++ b/src/librustc_lsan/lib.rs
@@ -10,6 +10,7 @@
 
 #![sanitizer_runtime]
 #![feature(alloc_system)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(sanitizer_runtime)]
 #![feature(staged_api)]
 #![no_std]