]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-missing-copy-implementations.stderr
Rollup merge of #87180 - notriddle:notriddle/sidebar-keyboard-mobile, r=GuillaumeGomez
[rust.git] / src / test / ui / lint / lint-missing-copy-implementations.stderr
1 error: type could implement `Copy`; consider adding `impl Copy`
2   --> $DIR/lint-missing-copy-implementations.rs:6:5
3    |
4 LL | /     pub struct Foo {
5 LL | |         pub field: i32
6 LL | |     }
7    | |_____^
8    |
9 note: the lint level is defined here
10   --> $DIR/lint-missing-copy-implementations.rs:3:9
11    |
12 LL | #![deny(missing_copy_implementations)]
13    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16