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