]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/macros/macro-deprecation.stderr
report kind of deprecated item in message
[rust.git] / src / test / ui / macros / macro-deprecation.stderr
index 0e8ecb58fe588a9754d994cf81b85c3eebd1a9d6..07849d7ce5778353f306065830a891fd74d7c170 100644 (file)
@@ -1,4 +1,4 @@
-warning: use of deprecated item 'local_deprecated': local deprecation note
+warning: use of deprecated macro `local_deprecated`: local deprecation note
   --> $DIR/macro-deprecation.rs:11:5
    |
 LL |     local_deprecated!();
@@ -6,7 +6,7 @@ LL |     local_deprecated!();
    |
    = note: `#[warn(deprecated)]` on by default
 
-warning: use of deprecated item 'deprecated_macro': deprecation note
+warning: use of deprecated macro `deprecated_macro`: deprecation note
   --> $DIR/macro-deprecation.rs:12:5
    |
 LL |     deprecated_macro!();