rust/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs
2023-01-11 09:32:08 +00:00

7 lines
89 B
Rust

fn f() -> impl Sized {
enum E { //~ ERROR
V(E),
}
unimplemented!()
}