rust/tests/rustdoc-json/reexport/rename_private.rs
Alona Enraght-Moony 7ab71c417b tests/rustdoc-json: replace $.index[*][? with $.index[?
Done automatically with VSCode.
2025-03-21 00:48:09 +00:00

10 lines
232 B
Rust

//@ edition:2018
//@ !has "$.index[?(@.name=='inner')]"
mod inner {
//@ has "$.index[?(@.name=='Public')]"
pub struct Public;
}
//@ is "$.index[?(@.inner.use)].inner.use.name" \"NewName\"
pub use inner::Public as NewName;