mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
16 lines
267 B
Rust
16 lines
267 B
Rust
//@ 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() {}
|