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
// Error: inherited bound `T: 'a` references parameter 'a, but the impl does not declare a same-named lifetime
use batch_impl::batch_impl;

#[batch_impl(<'b, T> A<'b, T> ())]
trait A<'a, T: 'a> {}

fn main() {}