fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0277]: the trait bound `std::option::Option<Bar>: std::marker::Copy` is not satisfied 2 --> $DIR/migrate-fail.rs:15:37 3 | 4LL | let arr: [Option<Bar>; 2] = [x; 2]; 5 | ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::option::Option<Bar>` 6 | 7 = help: the following implementations were found: 8 <std::option::Option<T> as std::marker::Copy> 9 = note: the `Copy` trait is required because the repeated element will be copied 10 11error[E0277]: the trait bound `std::option::Option<Bar>: std::marker::Copy` is not satisfied 12 --> $DIR/migrate-fail.rs:21:37 13 | 14LL | let arr: [Option<Bar>; 2] = [x; 2]; 15 | ^^^^^^ the trait `std::marker::Copy` is not implemented for `std::option::Option<Bar>` 16 | 17 = help: the following implementations were found: 18 <std::option::Option<T> as std::marker::Copy> 19 = note: the `Copy` trait is required because the repeated element will be copied 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0277`.