]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc-json/reexport/rename_private.rs
Rollup merge of #106477 - Nathan-Fenner:nathanf/refined-error-span-trait-impl, r...
[rust.git] / tests / rustdoc-json / reexport / rename_private.rs
1 // edition:2018
2
3 #![no_core]
4 #![feature(no_core)]
5
6 // @!has "$.index[*][?(@.kind=='inner')]"
7 mod inner {
8     // @has "$.index[*][?(@.name=='Public')]"
9     pub struct Public;
10 }
11
12 // @is "$.index[*][?(@.kind=='import')].inner.name" \"NewName\"
13 pub use inner::Public as NewName;