rust/tests/crashes/114198.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
208 B
Rust
Raw Normal View History

2024-04-17 07:01:07 +08:00
//@ 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() {}