]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/lint/lint-stability2.stderr
report kind of deprecated item in message
[rust.git] / src / test / ui / lint / lint-stability2.stderr
index 5bac22594d6650c20db6af2401a4a0e66a5d538e..036304d25f9bf9adf71a5ea821429ed3ecd5d51a 100644 (file)
@@ -1,4 +1,4 @@
-error: use of deprecated item 'lint_stability::deprecated': text
+error: use of deprecated function `lint_stability::deprecated`: text
   --> $DIR/lint-stability2.rs:12:5
    |
 LL |     macro_test!();
@@ -9,7 +9,7 @@ note: the lint level is defined here
    |
 LL | #![deny(deprecated)]
    |         ^^^^^^^^^^
-   = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
+   = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
 
 error: aborting due to previous error