summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/inline_cross/cross-glob.rs
blob: 7a519d2d2554792362e233f75cab42eae31c13b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// aux-build:cross-glob.rs
// build-aux-docs
// ignore-cross-compile

extern crate inner;

// @has cross_glob/struct.SomeStruct.html
// @has cross_glob/fn.some_fn.html
// @!has cross_glob/enum.Shadowed.html
// @!has cross_glob/index.html '//code' 'pub use inner::*;'
#[doc(inline)]
pub use inner::*;

// This type shadows the glob-imported enum `Shadowed`.
// @has cross_glob/type.Shadowed.html
pub type Shadowed = u8;