2015-04-18 00:12:20 -05:00
|
|
|
pub trait AbstractRenderer {}
|
2014-10-18 15:12:02 -05:00
|
|
|
|
|
|
|
fn _create_render(_: &()) ->
|
2019-05-28 13:46:13 -05:00
|
|
|
dyn AbstractRenderer
|
2020-04-10 12:19:47 -05:00
|
|
|
//~^ ERROR return type cannot have an unboxed trait object
|
2014-10-18 15:12:02 -05:00
|
|
|
{
|
2015-03-03 02:42:26 -06:00
|
|
|
match 0 {
|
2014-10-18 15:12:02 -05:00
|
|
|
_ => unimplemented!()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|