about summary refs log tree commit diff
path: root/src/test/run-pass/consts/const-enum-structlike.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-pass/consts/const-enum-structlike.rs')
-rw-r--r--src/test/run-pass/consts/const-enum-structlike.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/run-pass/consts/const-enum-structlike.rs b/src/test/run-pass/consts/const-enum-structlike.rs
index a6bac3c9e7d..17fec939116 100644
--- a/src/test/run-pass/consts/const-enum-structlike.rs
+++ b/src/test/run-pass/consts/const-enum-structlike.rs
@@ -9,6 +9,7 @@
 // except according to those terms.
 
 // run-pass
+#![allow(dead_code)]
 
 enum E {
     S0 { s: String },