about summary refs log tree commit diff
path: root/tests/crashes/114198.rs
blob: 0f479b3615fb0225e355cc3b717e29c1fb1db66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//@ known-bug: #114198
//@ compile-flags: -Zprint-mono-items -Clink-dead-code

#![feature(lazy_type_alias)]

impl Trait for Struct {}
trait Trait {
    fn test(&self) {}
}

type Struct = dyn Trait + Send;

fn main() {}