]> git.lizzy.rs Git - rust.git/blob - src/test/ui/repeat-to-run-dtor-twice.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / repeat-to-run-dtor-twice.stderr
1 error[E0277]: the trait bound `Foo: std::marker::Copy` is not satisfied
2   --> $DIR/repeat-to-run-dtor-twice.rs:27:13
3    |
4 LL |     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
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.