about summary refs log tree commit diff
path: root/tests/rustdoc/private-mod-override-re-export.rs
blob: 47b07958709bb0934a14d48c95ccf9fae399a37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// https://github.com/rust-lang/rust/issues/60926
#![crate_name = "foo"]
#![crate_type = "lib"]

mod m1 {
    pub mod m2 {
        pub struct Foo;
    }
}

pub use m1::*;
use crate::m1::m2;

//@ !has foo/index.html '//a[@href="m2/index.html"]' 'm2'