rust/tests/ui/proc-macro/lints_in_proc_macros.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

12 lines
462 B
Plaintext

error[E0425]: cannot find value `foobar2` in this scope
--> $DIR/lints_in_proc_macros.rs:9:5
|
LL | bang_proc_macro2!();
| ^^^^^^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `foobar`
|
= note: this error originates in the macro `bang_proc_macro2` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0425`.