mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
274 B
Plaintext
15 lines
274 B
Plaintext
error: cannot find attribute `default` in this scope
|
|
--> $DIR/suggest-default-attribute.rs:2:7
|
|
|
|
|
LL | #[default]
|
|
| ^^^^^^^
|
|
|
|
|
help: consider adding a derive
|
|
|
|
|
LL + #[derive(Default)]
|
|
LL | pub enum Test {
|
|
|
|
|
|
|
error: aborting due to 1 previous error
|
|
|