batch-impl 0.8.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
error: batch-impl: repeat block segments have different lengths (2 vs 3); all referenced segments must be equal-length
 --> tests/ui/impl_shape_repeat_unequal.rs:4:1
  |
4 | / #[batch_impl(
5 | |     ((u8, u16), (u32, u64, u128)) impl{((A@..,),(B@..,))}
6 | |     { fn n(&self) -> usize { @(@A::f() @B::g(),).. } }
7 | | )]
  | |__^
  |
  = note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)