error: KaptanError can only be derived for enums, not structs --> tests/ui/struct.rs:4:8 | 4 | struct NotAnError { | ^^^^^^^^^^