]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18107.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / ui / issues / issue-18107.rs
1 pub trait AbstractRenderer {}
2
3 fn _create_render(_: &()) ->
4     dyn AbstractRenderer
5 //~^ ERROR return type cannot have an unboxed trait object
6 {
7     match 0 {
8         _ => unimplemented!()
9     }
10 }
11
12 fn main() {
13 }