]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/glob_import.rs
Rollup merge of #107687 - cjgillot:sroa-2, r=oli-obk
[rust.git] / tests / 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 "$.index[*][?(@.name=='glob')]"
8 // @has "$.index[*][?(@.kind=='import')].inner.name" \"*\"
9
10
11 mod m1 {
12     pub fn f() {}
13 }
14 mod m2 {
15     pub fn f(_: u8) {}
16 }
17
18 pub use m1::*;
19 pub use m2::*;
20
21 pub mod glob {
22     pub use *;
23 }