]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-output-format.rs
Move /src/test to /tests
[rust.git] / tests / ui / lint / lint-output-format.rs
1 // compile-flags: -F unused_features
2 // aux-build:lint_output_format.rs
3
4 #![allow(deprecated)]
5
6 extern crate lint_output_format; //~ ERROR use of unstable library feature
7 use lint_output_format::{foo, bar}; //~ ERROR use of unstable library feature
8 //~| ERROR use of unstable library feature
9
10 fn main() {
11     let _x = foo();
12     let _y = bar(); //~ ERROR use of unstable library feature
13 }