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