1 warning: use of deprecated item 'lint_output_format::foo': text
2 --> $DIR/lint-output-format-2.rs:7: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:12:14
15 warning: 2 warnings emitted