Skip to content

Commit

Permalink
Rollup merge of rust-lang#110488 - GuillaumeGomez:test-infinite-recur…
Browse files Browse the repository at this point in the history
…sive-type, r=jyn514

Add a failing rustdoc-ui test for public infinite recursive type

As suggested in rust-lang#110450 (comment).

r? `@jyn514`
  • Loading branch information
GuillaumeGomez authored Apr 18, 2023
2 parents aa1247a + ca882c0 commit 7e50336
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// check-pass

pub fn f() -> impl Sized {
pub enum E {
V(E),
}

unimplemented!()
}

0 comments on commit 7e50336

Please sign in to comment.