mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
c7cd55f7c5
Co-authored-by: Michael Goulet <michael@errs.io> Co-authored-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
11 lines
428 B
Plaintext
11 lines
428 B
Plaintext
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`, along with `expr_2021` and `pat_param` for edition compatibility
|
|
|
|
error: aborting due to 1 previous error
|
|
|