]> git.lizzy.rs Git - rust.git/blob - src/test/ui/derives/derive-on-trait-item-or-impl-item.stderr
Merge commit 'e214ea82ad0a751563acf67e1cd9279cf302db3a' into clippyup
[rust.git] / src / test / ui / derives / derive-on-trait-item-or-impl-item.stderr
1 error: `derive` may only be applied to structs, enums and unions
2   --> $DIR/derive-on-trait-item-or-impl-item.rs:2:5
3    |
4 LL |     #[derive(Clone)]
5    |     ^^^^^^^^^^^^^^^^
6
7 error: `derive` may only be applied to structs, enums and unions
8   --> $DIR/derive-on-trait-item-or-impl-item.rs:10:5
9    |
10 LL |     #[derive(Clone)]
11    |     ^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14