summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/cross-glob.rs
blob: ae36655936c1fa471437c525588d8a8d1d52273b (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;