blob: 56cb7d76e02d3348c6b71cc42b07e8703dc04826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//@ known-bug: #114198
//@ compile-flags: -Zprint-mono-items -Clink-dead-code
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() {}
|