summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-missing-copy-implementations.stderr
blob: e5f5ce20d1c90906901bff4dbd034a846e4a8aa8 (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:6:5
   |
LL | /     pub struct Foo {
LL | |         pub field: i32
LL | |     }
   | |_____^
   |
note: the lint level is defined here
  --> $DIR/lint-missing-copy-implementations.rs:3:9
   |
LL | #![deny(missing_copy_implementations)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error