1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#![crate_name = "foo"]

mod a {
    /// baz
    pub struct Type;
}

mod b {
    /// bar
    pub use crate::a::Type;
}

mod c {
    /// babar
    pub use crate::b::Type;
    /// woof
    pub use crate::b::Type as Woof;
}

/// foo
pub use b::Type;
/// damn
pub use c::Type as Whatever;
/// a dog?
pub use c::Woof;