]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-output-format-2.rs
Rollup merge of #106762 - WaffleLapkin:atomicptr+as_mut_ptr, r=m-ou-se
[rust.git] / tests / ui / lint / lint-output-format-2.rs
1 // aux-build:lint_output_format.rs
2
3 #![feature(unstable_test_feature)]
4 // check-pass
5
6 extern crate lint_output_format;
7 use lint_output_format::{foo, bar};
8 //~^ WARNING use of deprecated function `lint_output_format::foo`: text
9
10
11 fn main() {
12     let _x = foo();
13     //~^ WARNING use of deprecated function `lint_output_format::foo`: text
14     let _y = bar();
15 }