2022-04-08 16:04:37 +03:00
error: missing fragment specifier
--> $DIR/macro-missing-fragment-deduplication.rs:4:6
|
2024-07-30 23:04:23 -04:00
LL | ($name) => {};
2022-04-08 16:04:37 +03:00
| ^^^^^
|
2024-07-30 23:04:23 -04:00
= 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
2022-04-08 16:04:37 +03:00
|
2024-07-30 23:04:23 -04:00
LL | ($name:spec) => {};
| +++++
2022-04-08 16:04:37 +03:00
2025-06-17 22:15:38 -04:00
error: unexpected end of macro invocation
--> $DIR/macro-missing-fragment-deduplication.rs:8:5
|
LL | macro_rules! m {
| -------------- when calling this macro
...
LL | m!();
| ^^^^ missing tokens in macro arguments
|
note: while trying to match meta-variable `$name:tt`
--> $DIR/macro-missing-fragment-deduplication.rs:4:6
|
LL | ($name) => {};
| ^^^^^
error: unexpected end of macro invocation
--> $DIR/macro-missing-fragment-deduplication.rs:9:5
|
LL | macro_rules! m {
| -------------- when calling this macro
...
LL | m!();
| ^^^^ missing tokens in macro arguments
|
note: while trying to match meta-variable `$name:tt`
--> $DIR/macro-missing-fragment-deduplication.rs:4:6
|
LL | ($name) => {};
| ^^^^^
error: unexpected end of macro invocation
--> $DIR/macro-missing-fragment-deduplication.rs:10:5
|
LL | macro_rules! m {
| -------------- when calling this macro
...
LL | m!();
| ^^^^ missing tokens in macro arguments
|
note: while trying to match meta-variable `$name:tt`
--> $DIR/macro-missing-fragment-deduplication.rs:4:6
|
LL | ($name) => {};
| ^^^^^
error: unexpected end of macro invocation
--> $DIR/macro-missing-fragment-deduplication.rs:11:5
|
LL | macro_rules! m {
| -------------- when calling this macro
...
LL | m!();
| ^^^^ missing tokens in macro arguments
|
note: while trying to match meta-variable `$name:tt`
2024-07-23 18:56:29 -05:00
--> $DIR/macro-missing-fragment-deduplication.rs:4:6
|
2024-07-30 23:04:23 -04:00
LL | ($name) => {};
2024-07-23 18:56:29 -05:00
| ^^^^^
2024-07-30 23:04:23 -04:00
2025-06-17 22:15:38 -04:00
error: aborting due to 5 previous errors
2024-07-23 18:56:29 -05:00