summaryrefslogtreecommitdiffstats
path: root/src/test/ui/enum/suggest-default-attribute.stderr
blob: fb830d3f78b64db1dd11330eab5b4dd38c1d1736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 previous error