summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-output-format.rs
blob: 67e8ec8f13b4f7d58de0798b65fc2932e0619498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-flags: -F unused_features
// aux-build:lint_output_format.rs

#![allow(deprecated)]

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
}