mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
10 lines
362 B
Text
10 lines
362 B
Text
error: invalid fragment specifier `t_ty`
|
|
--> $DIR/issue-21356.rs:3:22
|
|
|
|
|
LL | macro_rules! test { ($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
|
|
|