]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-missing-copy-implementations.stderr
Move parse-fail tests to UI
[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:16:5
3    |
4 LL | /     pub struct Foo { //~ ERROR type could implement `Copy`; consider adding `impl Copy`
5 LL | |         pub field: i32
6 LL | |     }
7    | |_____^
8    |
9 note: lint level defined here
10   --> $DIR/lint-missing-copy-implementations.rs:13:9
11    |
12 LL | #![deny(missing_copy_implementations)]
13    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15 error: aborting due to previous error
16