2018-08-08 12:28:26 +00:00
|
|
|
error: unexpected end of macro invocation
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/empty-comment.rs:10:5
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2018-10-24 18:34:23 +00:00
|
|
|
LL | macro_rules! one_arg_macro {
|
|
|
|
| -------------------------- when calling this macro
|
2018-10-24 00:18:14 +00:00
|
|
|
...
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | one_arg_macro!(/**/);
|
2021-10-14 18:28:28 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ missing tokens in macro arguments
|
2022-11-12 22:18:32 +00:00
|
|
|
|
|
|
|
|
note: while trying to match meta-variable `$fmt:expr`
|
|
|
|
--> $DIR/empty-comment.rs:6:6
|
|
|
|
|
|
|
|
|
LL | ($fmt:expr) => (print!(concat!($fmt, "\n")));
|
|
|
|
| ^^^^^^^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 12:28:26 +00:00
|
|
|
|