summary refs log tree commit diff
path: root/src/test/ui/lint/lint-missing-copy-implementations.stderr
blob: 3cb89ef794a498dd8712b0c33200d7db48bfa415 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: type could implement `Copy`; consider adding `impl Copy`
  --> $DIR/lint-missing-copy-implementations.rs:16:5
   |
LL | /     pub struct Foo { //~ ERROR type could implement `Copy`; consider adding `impl Copy`
LL | |         pub field: i32
LL | |     }
   | |_____^
   |
note: lint level defined here
  --> $DIR/lint-missing-copy-implementations.rs:13:9
   |
LL | #![deny(missing_copy_implementations)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error