extern crate lint_output_format;
use lint_output_format::{foo, bar};
-//~^ WARNING use of deprecated item 'lint_output_format::foo': text
+//~^ WARNING use of deprecated function `lint_output_format::foo`: text
fn main() {
let _x = foo();
- //~^ WARNING use of deprecated item 'lint_output_format::foo': text
+ //~^ WARNING use of deprecated function `lint_output_format::foo`: text
let _y = bar();
}