mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
f784fa7bd9
Done by removing all uses of `#![no_core]`, and the reverting the ones that failed. More involved ones are in a later commit.
21 lines
328 B
Rust
21 lines
328 B
Rust
// This is a regression test for <https://github.com/rust-lang/rust/issues/98003>.
|
|
|
|
#![no_std]
|
|
|
|
// @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 *;
|
|
}
|