]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/lint-output-format-2.stderr
report kind of deprecated item in message
[rust.git] / src / test / ui / lint / lint-output-format-2.stderr
index a95fd69fb01c7f2de960c8df6cf720c32901b2d7..a36dbd61fdcea12781d5354ee8152192bea09a9e 100644 (file)
@@ -1,4 +1,4 @@
-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};
@@ -6,7 +6,7 @@ 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();