-warning: use of deprecated item 'lint_output_format::foo': text
+warning: use of deprecated function `lint_output_format::foo`: text
--> $DIR/lint-output-format-2.rs:7:26
|
LL | use lint_output_format::{foo, bar};
|
= note: `#[warn(deprecated)]` on by default
-warning: use of deprecated item 'lint_output_format::foo': text
+warning: use of deprecated function `lint_output_format::foo`: text
--> $DIR/lint-output-format-2.rs:12:14
|
LL | let _x = foo();