about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-22 15:32:17 +0200
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-07-22 15:34:01 +0200
commit7a700341e7bd83cd0a36f79e95cfa29463eb77a6 (patch)
tree2e0c035bae9c5cb8e5a4cac1e1e0b25c30fa3bb5 /src
parenta81f88d4d642d0cae324b301df3fe089f0d090b4 (diff)
downloadrust-7a700341e7bd83cd0a36f79e95cfa29463eb77a6.tar.gz
rust-7a700341e7bd83cd0a36f79e95cfa29463eb77a6.zip
refine set of allowed warnings in `new-box-syntax.rs` test.
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/new-box-syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/new-box-syntax.rs b/src/test/run-pass/new-box-syntax.rs
index 50369995001..8cf3bcbb678 100644
--- a/src/test/run-pass/new-box-syntax.rs
+++ b/src/test/run-pass/new-box-syntax.rs
@@ -13,7 +13,7 @@
 /* Any copyright is dedicated to the Public Domain.
  * http://creativecommons.org/publicdomain/zero/1.0/ */
 
-#![allow(warnings)]
+#![allow(dead_code, unused_variables)]
 #![feature(box_syntax, box_heap)]
 #![feature(placement_in_syntax)]