2016-11-10 19:08:21 +02:00
|
|
|
// aux-build:lint_output_format.rs
|
|
|
|
|
2018-07-23 12:23:40 +01:00
|
|
|
#![feature(unstable_test_feature)]
|
2019-07-03 06:30:28 +09:00
|
|
|
// build-pass (FIXME(62277): could be check-pass?)
|
2016-11-10 19:08:21 +02:00
|
|
|
|
|
|
|
extern crate lint_output_format;
|
|
|
|
use lint_output_format::{foo, bar};
|
2017-11-01 23:34:44 +00:00
|
|
|
//~^ WARNING use of deprecated item 'lint_output_format::foo': text
|
2016-11-10 19:08:21 +02:00
|
|
|
|
2018-10-31 13:08:01 +01:00
|
|
|
|
|
|
|
fn main() {
|
2017-01-05 18:55:36 -08:00
|
|
|
let _x = foo();
|
2017-11-01 23:34:44 +00:00
|
|
|
//~^ WARNING use of deprecated item 'lint_output_format::foo': text
|
2016-11-10 19:08:21 +02:00
|
|
|
let _y = bar();
|
|
|
|
}
|