summary refs log tree commit diff
path: root/tests/crashes/114198-2.rs
blob: de9d61ae1b99ab63f6d7c96dd2f086dfb4b88dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//@ 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() {}