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
error: batch-impl: a bare literal in a type position must be an integer (usize); float/string/char literals are not types
 --> tests/ui/literal_and_range.rs:4:14
  |
4 | #[batch_impl(1.5)]
  |              ^^^

error: batch-impl: a range (`..`/`..=`) in a type position needs integer endpoints (e.g. `0..=3`)
 --> tests/ui/literal_and_range.rs:7:14
  |
7 | #[batch_impl(1..x)]
  |              ^