| 1 |
error: this is unnecessary: the Diffable implementation for enums is always a leaf |
| 2 |
--> tests/fixtures/invalid/enum-attributes.rs:4:8 |
| 3 |
| |
| 4 |
4 | #[daft(leaf)] |
| 5 |
| ^^^^ |
| 6 |
|
| 7 |
error: daft attributes are not allowed on enum variants |
| 8 |
--> tests/fixtures/invalid/enum-attributes.rs:6:5 |
| 9 |
| |
| 10 |
6 | #[daft(leaf)] |
| 11 |
| ^^^^^^^^^^^^^ |
| 12 |
|
| 13 |
error: daft attributes are not allowed on enum variant fields |
| 14 |
--> tests/fixtures/invalid/enum-attributes.rs:7:7 |
| 15 |
| |
| 16 |
7 | A(#[daft(ignore)] i32), |
| 17 |
| ^^^^^^^^^^^^^^^ |
| 18 |
|
| 19 |
error: daft attributes are not allowed on enum variants |
| 20 |
--> tests/fixtures/invalid/enum-attributes.rs:8:5 |
| 21 |
| |
| 22 |
8 | #[daft(leaf)] |
| 23 |
| ^^^^^^^^^^^^^ |
| 24 |
|
| 25 |
error: daft attributes are not allowed on enum variant fields |
| 26 |
--> tests/fixtures/invalid/enum-attributes.rs:10:9 |
| 27 |
| |
| 28 |
10 | #[daft(ignore)] |
| 29 |
| ^^^^^^^^^^^^^^^ |
| 30 |
|
| 31 |
error: daft attributes are not allowed on enums |
| 32 |
--> tests/fixtures/invalid/enum-attributes.rs:16:8 |
| 33 |
| |
| 34 |
16 | #[daft(ignore)] |
| 35 |
| ^^^^^^ |