about summary refs log tree commit diff
path: root/tests/rustdoc-json/reexport/rename_private.rs
blob: 433829bab308ece191ebb289e370269a3a7f6aa9 (plain)
1
2
3
4
5
6
7
8
9
10
//@ edition:2018

// @!has "$.index[*][?(@.name=='inner')]"
mod inner {
    // @has "$.index[*][?(@.name=='Public')]"
    pub struct Public;
}

// @is "$.index[*][?(@.inner.import)].inner.import.name" \"NewName\"
pub use inner::Public as NewName;