rust/tests/rustdoc-json/glob_import.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
328 B
Rust
Raw Normal View History

// This is a regression test for <https://github.com/rust-lang/rust/issues/98003>.
#![no_std]
2022-08-17 05:55:09 -05:00
// @has "$.index[*][?(@.name=='glob')]"
// @has "$.index[*][?(@.inner.import)].inner.import.name" \"*\"
mod m1 {
pub fn f() {}
}
mod m2 {
pub fn f(_: u8) {}
}
pub use m1::*;
pub use m2::*;
pub mod glob {
pub use *;
}