about summary refs log tree commit diff
path: root/src/test/compile-fail/associated-const-dead-code.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/associated-const-dead-code.rs')
-rw-r--r--src/test/compile-fail/associated-const-dead-code.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/associated-const-dead-code.rs b/src/test/compile-fail/associated-const-dead-code.rs
index 42db13f4f3b..1ed156d45f5 100644
--- a/src/test/compile-fail/associated-const-dead-code.rs
+++ b/src/test/compile-fail/associated-const-dead-code.rs
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![feature(associated_consts)]
 #![deny(dead_code)]
 
 struct MyFoo;