batch-impl 0.7.2

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
error: batch-impl: array length `[T; N]` missing or malformed (write `[u8; 3]`)
 --> tests/ui/array_and_punct.rs:4:1
  |
4 | #[batch_impl([u8; 3; 4])]
  | ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = 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 range (`..`/`..=`) in a type position needs integer endpoints (e.g. `0..=3`)
 --> tests/ui/array_and_punct.rs:7:14
  |
7 | #[batch_impl(.foo)]
  |              ^