rust/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs
2023-01-27 14:41:33 +01:00

7 lines
89 B
Rust

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