blob: 4bf5b6c0f30322fa7562a4dfbcb11617cdc8cd25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
pub trait AbstractRenderer {}
fn _create_render(_: &()) ->
dyn AbstractRenderer
//~^ ERROR return type cannot have an unboxed trait object
{
match 0 {
_ => unimplemented!()
}
}
fn main() {
}
|