Rollup merge of #110488 - GuillaumeGomez:test-infinite-recursive-type, r=jyn514
Add a failing rustdoc-ui test for public infinite recursive type As suggested in https://github.com/rust-lang/rust/pull/110450#discussion_r1169271643. r? `@jyn514`
This commit is contained in:
commit
7e5033657b
@ -0,0 +1,9 @@
|
||||
// check-pass
|
||||
|
||||
pub fn f() -> impl Sized {
|
||||
pub enum E {
|
||||
V(E),
|
||||
}
|
||||
|
||||
unimplemented!()
|
||||
}
|
Loading…
Reference in New Issue
Block a user