blob: 2476399bd561cdfcf3bfed9656ac7848302bbc6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// edition:2018
#![no_core]
#![feature(no_core)]
// @is rename_private.json "$.index[*][?(@.name=='inner')].kind" \"module\"
// @is rename_private.json "$.index[*][?(@.name=='inner')].inner.is_stripped" "true"
mod inner {
// @has - "$.index[*][?(@.name=='Public')]"
pub struct Public;
}
// @is - "$.index[*][?(@.kind=='import')].inner.name" \"NewName\"
pub use inner::Public as NewName;
|