about summary refs log tree commit diff
path: root/src/test/compile-fail/lint-uppercase-variables.rs
diff options
context:
space:
mode:
authorJakub Wieczorek <jakub@jakub.cc>2014-06-06 15:51:42 +0200
committerJakub Wieczorek <jakub@jakub.cc>2014-06-08 13:36:28 +0200
commitf7d86b2f4ace416a65e84603082c756b8b5dc43e (patch)
tree9c47bd9132d7f323bde048e1fe1998c2d5a01692 /src/test/compile-fail/lint-uppercase-variables.rs
parent0271224bdae26260ab498f47323997f9edb5879e (diff)
downloadrust-f7d86b2f4ace416a65e84603082c756b8b5dc43e.tar.gz
rust-f7d86b2f4ace416a65e84603082c756b8b5dc43e.zip
Remove the dead code identified by the new lint
Diffstat (limited to 'src/test/compile-fail/lint-uppercase-variables.rs')
-rw-r--r--src/test/compile-fail/lint-uppercase-variables.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/compile-fail/lint-uppercase-variables.rs b/src/test/compile-fail/lint-uppercase-variables.rs
index 386b4019485..f1b36d719e9 100644
--- a/src/test/compile-fail/lint-uppercase-variables.rs
+++ b/src/test/compile-fail/lint-uppercase-variables.rs
@@ -8,6 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+#![allow(dead_code)]
 #![deny(uppercase_variables)]
 
 use std::io::File;