diff options
Diffstat (limited to 'tests/rustdoc/recursion1.rs')
-rw-r--r-- | tests/rustdoc/recursion1.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/rustdoc/recursion1.rs b/tests/rustdoc/recursion1.rs new file mode 100644 index 000000000..edf7e440f --- /dev/null +++ b/tests/rustdoc/recursion1.rs @@ -0,0 +1,13 @@ +#![crate_type = "lib"] + +mod m { + pub use self::a::Foo; + + mod a { + pub struct Foo; + } + + mod b { + pub use super::*; + } +} |