blob: de9d61ae1b99ab63f6d7c96dd2f086dfb4b88dc4 [file] [log] [blame] [edit]
//@ known-bug: #114198
//@ compile-flags: -Zprint-mono-items=eager
impl Trait for <Ty as Owner>::Struct {}
trait Trait {
fn test(&self) {}
}
enum Ty {}
trait Owner { type Struct: ?Sized; }
impl Owner for Ty {
type Struct = dyn Trait + Send;
}
fn main() {}