summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/constructor-imports.rs
blob: 26795c274447d30bb541202fb738aa62ecb43756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![crate_name = "foo"]

pub mod a {
    pub struct Foo;
    pub enum Bar {
        Baz,
    }
}

// @count 'foo/index.html' '//*[code="pub use a::Foo;"]' 1
#[doc(no_inline)]
pub use a::Foo;
// @count 'foo/index.html' '//*[code="pub use a::Bar::Baz;"]' 1
#[doc(no_inline)]
pub use a::Bar::Baz;