2016-11-10 11:08:21 -06:00
|
|
|
// aux-build:lint_output_format.rs
|
|
|
|
|
2018-07-23 06:23:40 -05:00
|
|
|
#![feature(unstable_test_feature)]
|
2020-01-22 18:00:00 -06:00
|
|
|
// check-pass
|
2016-11-10 11:08:21 -06:00
|
|
|
|
|
|
|
extern crate lint_output_format;
|
|
|
|
use lint_output_format::{foo, bar};
|
2020-07-25 12:49:46 -05:00
|
|
|
//~^ WARNING use of deprecated function `lint_output_format::foo`: text
|
2016-11-10 11:08:21 -06:00
|
|
|
|
2018-10-31 07:08:01 -05:00
|
|
|
|
|
|
|
fn main() {
|
2017-01-05 20:55:36 -06:00
|
|
|
let _x = foo();
|
2020-07-25 12:49:46 -05:00
|
|
|
//~^ WARNING use of deprecated function `lint_output_format::foo`: text
|
2016-11-10 11:08:21 -06:00
|
|
|
let _y = bar();
|
|
|
|
}
|