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
use batch_impl::batch_impl;

// Two independent codegen-stage errors (where-predicate `@N` out of range)
// must be reported together — the driver calls generate_impl for every spec
// without short-circuiting.
#[batch_impl(()^1-()^1 where{@5: Clone}, ()^2 where{@3: Copy})]
trait AggCg {}

fn main() {}