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

// `;` is the batch_trait! segment boundary; inside #[batch_impl] it is not
// part of any spec and must error with guidance instead of leaking into the
// generated impl (previously `A^B; C` rendered `impl ... for A<B; C>` and
// rustc reported "expected one of ..., found `;`" with no batch-impl hint).
#[batch_impl(A^B; C)]
trait SemiBoundary {}

fn main() {}