]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/reexport/mod_not_included.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / rustdoc-json / reexport / mod_not_included.rs
1 // Regression test for https://github.com/rust-lang/rust/issues/101103
2
3 #![feature(no_core)]
4 #![no_core]
5
6 mod m1 {
7     pub fn x() {}
8 }
9
10 pub use m1::x;
11
12 // @has "$.index[*][?(@.name=='x' && @.kind=='function')]"
13 // @has "$.index[*][?(@.kind=='import' && @.inner.name=='x')].inner.source" '"m1::x"'
14 // @!has "$.index[*][?(@.name=='m1')]"