summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc-json/reexport/rename_private.rs
blob: 9114460231dc84d266bd2ee90d44da1904a8b55f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// edition:2018

#![no_core]
#![feature(no_core)]

// @!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;