]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-1920-2.stderr
Merge commit 'cd4810de42c57b64b74dae09c530a4c3a41f87b9' into libgccjit-codegen
[rust.git] / src / test / ui / issues / issue-1920-2.stderr
1 error[E0277]: the trait bound `S: Clone` is not satisfied
2   --> $DIR/issue-1920-2.rs:10:20
3    |
4 LL | fn assert_clone<T>() where T : Clone { }
5    |                                ----- required by this bound in `assert_clone`
6 ...
7 LL |     assert_clone::<bar::S>();
8    |                    ^^^^^^ the trait `Clone` is not implemented for `S`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.