fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
430 B16 linesraw
1error: type could implement `Copy`; consider adding `impl Copy`
2  --> $DIR/lint-missing-copy-implementations.rs:6:5
3   |
4LL | /     pub struct Foo {
5LL | |         pub field: i32
6LL | |     }
7   | |_____^
8   |
9note: the lint level is defined here
10  --> $DIR/lint-missing-copy-implementations.rs:3:9
11   |
12LL | #![deny(missing_copy_implementations)]
13   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16