1 warning: use of deprecated item 'lint_output_format::foo': text
2 --> $DIR/lint-output-format-2.rs:17:26
4 LL | use lint_output_format::{foo, bar};
7 = note: #[warn(deprecated)] on by default
9 warning: use of deprecated item 'lint_output_format::foo': text
10 --> $DIR/lint-output-format-2.rs:22:14
15 error: compilation successful
16 --> $DIR/lint-output-format-2.rs:21:1
18 LL | / fn main() { //~ ERROR: compilation successful
19 LL | | let _x = foo();
20 LL | | //~^ WARNING use of deprecated item 'lint_output_format::foo': text
21 LL | | let _y = bar();
25 error: aborting due to previous error