rust/tests/ui/lint/lint-stability2.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

16 lines
451 B
Plaintext

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