about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-21 07:24:09 +0000
committerbors <bors@rust-lang.org>2015-04-21 07:24:09 +0000
commit3860240b0e124f38483ea4bd070b61d362871ece (patch)
treeb101ff0b6ae5760b955693c9e007bd126ada37ac /src/test
parent21c48c3e823ed21266e96779d700946db957a965 (diff)
parentbb407b1e9db575fc04f59addcb9ba04076d8206b (diff)
downloadrust-3860240b0e124f38483ea4bd070b61d362871ece.tar.gz
rust-3860240b0e124f38483ea4bd070b61d362871ece.zip
Auto merge of #24646 - brson:stab, r=alexcrichton
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/stability-attribute-non-staged.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/test/compile-fail/stability-attribute-non-staged.rs b/src/test/compile-fail/stability-attribute-non-staged.rs
index db16e7c0138..b0efdfd1818 100644
--- a/src/test/compile-fail/stability-attribute-non-staged.rs
+++ b/src/test/compile-fail/stability-attribute-non-staged.rs
@@ -8,11 +8,7 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// These two generate an error to satisfy the compile-fail test
-#![deny(warnings)]
-#![feature(blah)] //~ ERROR
-
-#[unstable] //~ WARNING: stability attributes are deprecated
-#[stable] //~ WARNING: stability attributes are deprecated
-#[deprecated] //~ WARNING: stability attributes are deprecated
+#[unstable] //~ ERROR: stability attributes may not be used
+#[stable] //~ ERROR: stability attributes may not be used
+#[deprecated] //~ ERROR: stability attributes may not be used
 fn main() { }