When there are multiple macros in use, it can be difficult to tell which one was responsible for producing an error.
11 lines
381 B
Text
11 lines
381 B
Text
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`.
|