error: DST can only be derived for a struct
--> tests/compilation/fail_NotAStruct.rs:7:10
|
7 | #[derive(DST)]
| ^^^
|
help: not a struct
--> tests/compilation/fail_NotAStruct.rs:8:1
|
8 | enum NotAStruct {
| ^^^^
= note: this error originates in the derive macro `DST` (in Nightly builds, run with -Z macro-backtrace for more info)