error: the `request` attribute cannot be applied to structs with unnamed fields help: consider giving named fields to this struct: `{ field_1: String, field_2: u64 }` --> tests/ui/attribute_macro/invalid_inputs.rs:4:13 | 4 | struct Test1(String, u64); | ^^^^^^^^^^^^^ error: the `request` attribute cannot be applied to unit structs help: consider using an empty struct: `struct MyStruct {};` --> tests/ui/attribute_macro/invalid_inputs.rs:7:1 | 7 | struct Test2; | ^^^^^^ error: the `request` attribute cannot be applied to `Enums`, only `Structs` with named fields are supported --> tests/ui/attribute_macro/invalid_inputs.rs:10:1 | 10 | enum Test3 {} | ^^^^ error: the `request` attribute cannot be applied to `Unions`, only `Structs` with named fields are supported --> tests/ui/attribute_macro/invalid_inputs.rs:13:1 | 13 | union Test4 {} | ^^^^^