diff options
| author | Brian Anderson <banderson@mozilla.com> | 2015-01-16 14:08:24 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2015-01-21 16:16:22 -0800 |
| commit | 0768892abee31e1f8065deb4c61f0a88a682b17a (patch) | |
| tree | 3ce2bae131ca1fc5ccfdb1fee01d12ca83ed38ae /src/test/compile-fail/lint-output-format.rs | |
| parent | 18d144ac0284a0d50b839754a4209af0002ec159 (diff) | |
| download | rust-0768892abee31e1f8065deb4c61f0a88a682b17a.tar.gz rust-0768892abee31e1f8065deb4c61f0a88a682b17a.zip | |
Minor fixes
Diffstat (limited to 'src/test/compile-fail/lint-output-format.rs')
| -rw-r--r-- | src/test/compile-fail/lint-output-format.rs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/compile-fail/lint-output-format.rs b/src/test/compile-fail/lint-output-format.rs index 10217481bf3..ec4e3c774db 100644 --- a/src/test/compile-fail/lint-output-format.rs +++ b/src/test/compile-fail/lint-output-format.rs @@ -8,13 +8,15 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -// compile-flags:-F unstable +// compile-flags: -F unused_features // aux-build:lint_output_format.rs -extern crate lint_output_format; //~ ERROR: use of unmarked item +#![feature(foo)] //~ ERROR unused or unknown feature + +extern crate lint_output_format; //~ WARNING: 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(); //~ ERROR [-F unstable] + let _y = bar(); //~ WARNING: use of unstable library feature } |
