]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-output-format-2.rs
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / 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 }