os-rust/tests/ui/issues/issue-18107.rs

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

14 lines
213 B
Rust
Raw Normal View History

2015-04-17 22:12:20 -07:00
pub trait AbstractRenderer {}
fn _create_render(_: &()) ->
2019-05-28 14:46:13 -04:00
dyn AbstractRenderer
//~^ ERROR return type cannot have an unboxed trait object
{
match 0 {
_ => unimplemented!()
}
}
fn main() {
}