fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

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