batch-impl 0.6.1

A proc-macro library for batch generating trait impls with a powerful DSL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)