about summary refs log tree commit diff
path: root/src/test/run-fail/adjust_never.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/adjust_never.rs')
-rw-r--r--src/test/run-fail/adjust_never.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/test/run-fail/adjust_never.rs b/src/test/run-fail/adjust_never.rs
index 7a4b5e59eeb..da68dc39f85 100644
--- a/src/test/run-fail/adjust_never.rs
+++ b/src/test/run-fail/adjust_never.rs
@@ -11,6 +11,9 @@
 // Test that a variable of type ! can coerce to another type.
 
 // error-pattern:explicit
+
+#![feature(never_type)]
+
 fn main() {
     let x: ! = panic!();
     let y: u32 = x;