rust/tests/ui/lint/lint-output-format.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
391 B
Rust
Raw Normal View History

2015-01-16 22:08:24 +00:00
//@ compile-flags: -F unused_features
//@ aux-build:lint_output_format.rs
#![allow(deprecated)]
2015-01-16 22:08:24 +00:00
extern crate lint_output_format; //~ ERROR use of unstable library feature
use lint_output_format::{foo, bar}; //~ ERROR use of unstable library feature
//~| ERROR use of unstable library feature
fn main() {
let _x = foo();
let _y = bar(); //~ ERROR use of unstable library feature
}