]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-missing-copy-implementations.stderr
New upstream version 1.43.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-missing-copy-implementations.stderr
CommitLineData
b7449926 1error: type could implement `Copy`; consider adding `impl Copy`
0731742a 2 --> $DIR/lint-missing-copy-implementations.rs:6:5
b7449926 3 |
532ac7d7 4LL | / pub struct Foo {
b7449926
XL
5LL | | pub field: i32
6LL | | }
7 | |_____^
8 |
74b04a01 9note: the lint level is defined here
0731742a 10 --> $DIR/lint-missing-copy-implementations.rs:3:9
b7449926
XL
11 |
12LL | #![deny(missing_copy_implementations)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16