error: batch-impl: spec 列表不能以 `,` 开头
--> tests/ui/leading_comma.rs:4:1
|
4 | #[batch_impl(,usize)]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
error: batch-impl: 连续逗号 `,,` 之间缺少操作数(如 `A,,B`)
--> tests/ui/leading_comma.rs:7:1
|
7 | #[batch_impl(usize,,isize)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)