about summary refs log tree commit diff
path: root/src/test/run-fail/match-bot-fail.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run-fail/match-bot-fail.rs')
-rw-r--r--src/test/run-fail/match-bot-fail.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-fail/match-bot-fail.rs b/src/test/run-fail/match-bot-fail.rs
index a54422ef8f5..9728c84b900 100644
--- a/src/test/run-fail/match-bot-fail.rs
+++ b/src/test/run-fail/match-bot-fail.rs
@@ -10,8 +10,8 @@
 
 // error-pattern:explicit failure
 
-#[allow(unreachable_code)];
-#[allow(unused_variable)];
+#![allow(unreachable_code)]
+#![allow(unused_variable)]
 
 fn foo(s: ~str) { }