about summary refs log tree commit diff
path: root/tests/rustdoc-json/reexport/rename_private.rs
blob: 0494dff5bca2331578c228e2e98669b802296806 (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.use)].inner.use.name" \"NewName\"
pub use inner::Public as NewName;