]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/inline_cross/cross-glob.rs
Rollup merge of #106407 - mejrs:attr_check, r=compiler-errors
[rust.git] / tests / rustdoc / inline_cross / cross-glob.rs
1 // aux-build:cross-glob.rs
2 // build-aux-docs
3 // ignore-cross-compile
4
5 extern crate inner;
6
7 // @has cross_glob/struct.SomeStruct.html
8 // @has cross_glob/fn.some_fn.html
9 // @!has cross_glob/enum.Shadowed.html
10 // @!has cross_glob/index.html '//code' 'pub use inner::*;'
11 #[doc(inline)]
12 pub use inner::*;
13
14 // This type shadows the glob-imported enum `Shadowed`.
15 // @has cross_glob/type.Shadowed.html
16 pub type Shadowed = u8;