mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
3b0d306b94
Filter away names that are not actually imported by the glob, e.g. because they are shadowed by something else
17 lines
419 B
Rust
17 lines
419 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;
|