Sign in
rust
/
rust
/
08650fbb506c44fbc95d91abfb7cd95a56bbff30
/
.
/
src
/
test
/
ui
/
issues
/
issue-18107.rs
blob: 4bf5b6c0f30322fa7562a4dfbcb11617cdc8cd25 [
file
]
pub
trait
AbstractRenderer
{}
fn
_create_render
(
_
:
&())
->
dyn
AbstractRenderer
//~^ ERROR return type cannot have an unboxed trait object
{
match
0
{
_
=>
unimplemented
!()
}
}
fn
main
()
{
}