diff options
| author | Brian Anderson <banderson@mozilla.com> | 2015-03-05 18:33:58 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-03-23 14:40:26 -0700 |
| commit | df290f127e923e0aacfe8223dd77f0fa222f0bc8 (patch) | |
| tree | 65f8e1091b566595f7b5cae402c2121f22529db5 /src/test/compile-fail/lint-output-format.rs | |
| parent | 7770ea706b2ba10ebf9112b38af9aaad5cc6f24c (diff) | |
| download | rust-df290f127e923e0aacfe8223dd77f0fa222f0bc8.tar.gz rust-df290f127e923e0aacfe8223dd77f0fa222f0bc8.zip | |
Require feature attributes, and add them where necessary
Diffstat (limited to 'src/test/compile-fail/lint-output-format.rs')
| -rw-r--r-- | src/test/compile-fail/lint-output-format.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/lint-output-format.rs b/src/test/compile-fail/lint-output-format.rs index ec4e3c774db..d95ed7f10bd 100644 --- a/src/test/compile-fail/lint-output-format.rs +++ b/src/test/compile-fail/lint-output-format.rs @@ -13,10 +13,10 @@ #![feature(foo)] //~ ERROR unused or unknown feature -extern crate lint_output_format; //~ WARNING: use of unstable library feature +extern crate lint_output_format; //~ ERROR use of unstable library feature use lint_output_format::{foo, bar}; fn main() { let _x = foo(); //~ WARNING #[warn(deprecated)] on by default - let _y = bar(); //~ WARNING: use of unstable library feature + let _y = bar(); //~ ERROR use of unstable library feature } |
