blob: dd8e38f0d6e94fa60a4b0ad2b395e8a96fac5013 [file] [log] [blame]
error: expected identifier, found `+`
--> $DIR/issue-33569.rs:2:8
|
LL | { $+ } => {
| ^
error: missing fragment specifier
--> $DIR/issue-33569.rs:2:8
|
LL | { $+ } => {
| ^
|
= note: fragment specifiers must be provided
= 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
help: try adding a specifier here
|
LL | { $+:spec } => {
| +++++
error: expected one of: `*`, `+`, or `?`
--> $DIR/issue-33569.rs:4:13
|
LL | $(x)(y)
| ^^^
error: unexpected end of macro invocation
--> $DIR/issue-33569.rs:8:1
|
LL | macro_rules! foo {
| ---------------- when calling this macro
...
LL | foo!();
| ^^^^^^ missing tokens in macro arguments
|
note: while trying to match meta-variable `$<!dummy!>:tt`
--> $DIR/issue-33569.rs:2:8
|
LL | { $+ } => {
| ^
error: aborting due to 4 previous errors