// SPDX-License-Identifier: Apache-2.0 OR MIT use auto_enums::enum_derive; struct Foo(A); #[enum_derive(Transpose)] enum Enum1 { //~^ ERROR `enum_derive(Transpose)` all fields need to be generics A(Foo), B(B), } fn main() {}