]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-107350.rs
Rollup merge of #107006 - b-naber:thir-tree, r=jackh726
[rust.git] / tests / rustdoc / issue-107350.rs
1 // This is a regression test for <https://github.com/rust-lang/rust/issues/107350>.
2 // It shouldn't loop indefinitely.
3
4 #![crate_name = "foo"]
5
6 // @has 'foo/oops/enum.OhNo.html'
7
8 pub mod oops {
9     pub use crate::oops::OhNo;
10
11     mod inner {
12         pub enum OhNo {
13             Item = 1,
14         }
15     }
16
17     pub use self::inner::*;
18 }