blob: bb8b3906ca6b0d625f6e99cf9cabf1fb9d808b44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error[E0665]: `Default` cannot be derived for enums, only structs
--> $DIR/E0665.rs:1:10
|
LL | #[derive(Default)]
| ^^^^^^^
|
= note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
error: aborting due to previous error
For more information about this error, try `rustc --explain E0665`.
|