]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/impl-trait/two_tait_defining_each_other3.rs
1 #![feature(type_alias_impl_trait)]
10 return x
; // B's hidden type is A (opaquely)
11 //~^ ERROR opaque type's hidden type cannot be another opaque type
13 Bar
// A's hidden type is `Bar`, because all the return types are compared with each other