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