about summary refs log tree commit diff
path: root/src/test/ui/lint/lint-output-format-2.rs
blob: 32a41179965f3bf80563491341d8ac6259b2c6cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// aux-build:lint_output_format.rs

#![feature(unstable_test_feature)]
// build-pass (FIXME(62277): could be check-pass?)

extern crate lint_output_format;
use lint_output_format::{foo, bar};
//~^ WARNING use of deprecated item 'lint_output_format::foo': text


fn main() {
    let _x = foo();
    //~^ WARNING use of deprecated item 'lint_output_format::foo': text
    let _y = bar();
}