]> git.proxmox.com Git - rustc.git/blame - src/test/ui/traits/associated_type_bound/check-trait-object-bounds-4.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / traits / associated_type_bound / check-trait-object-bounds-4.stderr
CommitLineData
29967ef6
XL
1error[E0277]: the trait bound `str: Clone` is not satisfied
2 --> $DIR/check-trait-object-bounds-4.rs:15:5
3 |
4LL | fn f<T: X + ?Sized>() {
5 | - required by this bound in `f`
6...
7LL | f::<dyn X<Y = str>>();
8 | ^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `str`
9
10error: aborting due to previous error
11
12For more information about this error, try `rustc --explain E0277`.