]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc-json/glob_import.rs
Rollup merge of #98617 - ChrisDenton:const-unwrap, r=Mark-Simulacrum
[rust.git] / src / test / rustdoc-json / glob_import.rs
1 // This is a regression test for <https://github.com/rust-lang/rust/issues/98003>.
2
3 #![feature(no_core)]
4 #![no_std]
5 #![no_core]
6
7 // @has glob_import.json
8 // @has - "$.index[*][?(@.name=='glob')]"
9 // @has - "$.index[*][?(@.kind=='import')].inner.name" \"*\"
10
11
12 mod m1 {
13     pub fn f() {}
14 }
15 mod m2 {
16     pub fn f(_: u8) {}
17 }
18
19 pub use m1::*;
20 pub use m2::*;
21
22 pub mod glob {
23     pub use *;
24 }