rust/tests/rustdoc/inline_cross/cross-glob.rs

17 lines
422 B
Rust

//@ 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;