]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error: type could implement `Copy`; consider adding `impl Copy` |
0731742a | 2 | --> $DIR/lint-missing-copy-implementations.rs:6:5 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | / pub struct Foo { |
b7449926 XL |
5 | LL | | pub field: i32 |
6 | LL | | } | |
7 | | |_____^ | |
8 | | | |
74b04a01 | 9 | note: the lint level is defined here |
0731742a | 10 | --> $DIR/lint-missing-copy-implementations.rs:3:9 |
b7449926 XL |
11 | | |
12 | LL | #![deny(missing_copy_implementations)] | |
13 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
14 | ||
15 | error: aborting due to previous error | |
16 |