rust/tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs
Guillaume Gomez 69de8fbbeb Revert "Update newly failing UI tests"
This reverts commit 9c46173895.
2023-01-19 20:27:00 +01:00

10 lines
152 B
Rust

// check-pass
fn f() -> impl Sized {
// rustdoc doesn't care that this is infinitely sized
enum E {
V(E),
}
unimplemented!()
}