fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
431 B11 linesraw
1error[E0277]: the trait bound `Foo: std::marker::Copy` is not satisfied
2  --> $DIR/repeat-to-run-dtor-twice.rs:17:13
3   |
4LL |     let _ = [ a; 5 ];
5   |             ^^^^^^^^ the trait `std::marker::Copy` is not implemented for `Foo`
6   |
7   = note: the `Copy` trait is required because the repeated element will be copied
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0277`.