]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/check-trait-object-bounds-4.rs
1 // Check that we validate associated type bounds on super traits for trait
10 fn f
<T
: X
+ ?Sized
>() {
15 f
::<dyn X
<Y
= str>>();
16 //~^ ERROR the trait bound `str: Clone` is not satisfied