rust/src/test/ui/deprecation/deprecation-lint-3.stderr
Andy Russell 0b32008642
report kind of deprecated item in message
This is important for fields, which are incorrectly referred to as
"items".
2020-07-26 13:58:31 -04:00

16 lines
500 B
Plaintext

error: use of deprecated function `deprecation_lint::deprecated_text`: text
--> $DIR/deprecation-lint-3.rs:13:5
|
LL | macro_test_arg_nested!(deprecated_text);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/deprecation-lint-3.rs:4:9
|
LL | #![deny(deprecated)]
| ^^^^^^^^^^
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error