mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
208 B
Rust
14 lines
208 B
Rust
//@ known-bug: #114198
|
|
//@ compile-flags: -Zprint-mono-items=eager
|
|
|
|
#![feature(lazy_type_alias)]
|
|
|
|
impl Trait for Struct {}
|
|
trait Trait {
|
|
fn test(&self) {}
|
|
}
|
|
|
|
type Struct = dyn Trait + Send;
|
|
|
|
fn main() {}
|