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

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

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

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