2022-07-04 06:46:59 -05:00
|
|
|
error: cannot find attribute `default` in this scope
|
|
|
|
--> $DIR/suggest-default-attribute.rs:2:7
|
|
|
|
|
|
|
|
|
LL | #[default]
|
|
|
|
| ^^^^^^^
|
|
|
|
|
|
2022-07-06 23:57:01 -05:00
|
|
|
help: consider adding a derive
|
|
|
|
|
|
|
|
|
LL + #[derive(Default)]
|
2023-06-19 10:22:21 -05:00
|
|
|
LL | pub enum Test {
|
2022-07-04 06:46:59 -05:00
|
|
|
|
|
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-07-04 06:46:59 -05:00
|
|
|
|