]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/issue-107350.rs
Rollup merge of #106763 - lenko-d:106659-Print_why_a_test_was_ignored_if_its_the_only...
[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 }