rust/tests/ui/lint/unused/unused-macro-with-bad-frag-spec.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

11 lines
344 B
Plaintext

error: invalid fragment specifier `t_ty`
--> $DIR/unused-macro-with-bad-frag-spec.rs:6:6
|
LL | ($wrong:t_ty) => ()
| ^^^^^^^^^^^
|
= help: valid fragment specifiers are `ident`, `block`, `stmt`, `expr`, `pat`, `ty`, `lifetime`, `literal`, `path`, `meta`, `tt`, `item` and `vis`
error: aborting due to 1 previous error