Skip to content

Commit 1b64e16

Browse files
Add regression test for #107350
1 parent b8c44fa commit 1b64e16

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tests/rustdoc/issue-107350.rs

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
}

0 commit comments

Comments
 (0)