fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
482 B12 linesraw
1error[E0277]: the trait bound `bar::S: std::clone::Clone` is not satisfied
2  --> $DIR/issue-1920-2.rs:10:20
3   |
4LL | fn assert_clone<T>() where T : Clone { }
5   |    ------------                ----- required by this bound in `assert_clone`
6...
7LL |     assert_clone::<bar::S>();
8   |                    ^^^^^^ the trait `std::clone::Clone` is not implemented for `bar::S`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.