]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/traits/associated_type_bound/check-trait-object-bounds-6.rs
1 // Check that we validate associated type bounds on super traits for trait
13 type U
: Is
<T
= Self::V
>;
17 fn is_obj
<T
: ?Sized
+ Obj
>(_
: &T
) {}
19 fn f(x
: &dyn Obj
<U
= i32, V
= i64>) {
21 //~^ ERROR type mismatch resolving `<i32 as Is>::T == i64`