rust/tests/rustdoc-json/reexport/rename_private.rs
2023-01-11 09:32:08 +00:00

14 lines
275 B
Rust

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