rust/tests/rustdoc-json/reexport/rename_private.rs
2024-07-19 16:54:42 +02:00

11 lines
247 B
Rust

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