]> git.lizzy.rs Git - rust.git/blob - src/test/ui/deprecation/deprecation-lint-2.stderr
report kind of deprecated item in message
[rust.git] / src / test / ui / deprecation / deprecation-lint-2.stderr
1 error: use of deprecated function `deprecation_lint::deprecated`: text
2   --> $DIR/deprecation-lint-2.rs:12:5
3    |
4 LL |     macro_test!();
5    |     ^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/deprecation-lint-2.rs:4:9
9    |
10 LL | #![deny(deprecated)]
11    |         ^^^^^^^^^^
12    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
13
14 error: aborting due to previous error
15