1 2 3 4 5 6 7 8 9
use batch_impl::batch_impl; // a bare `@` in an impl body (pattern syntax is not DSL here) #[batch_impl((u8, u16) impl{(A@..,)} { fn n(&self) -> usize { let x = 0; x @ 0 } })] trait BadRepeatBareAt { fn n(&self) -> usize; } fn main() {}