error: batch-impl: `impl{...}` template cannot destructure the target type (a variadic segment (`ident@..`) is only supported as a tuple element inside an `impl{...}` template)
--> tests/ui/impl_shape_varseg_outside_tuple.rs:4:1
|
4 | #[batch_impl(u8 impl{A@..} { fn n(&self) -> usize { 0 } })]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `batch_impl` (in Nightly builds, run with -Z macro-backtrace for more info)