rust/tests/rustdoc-json/reexport/rename_private.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
241 B
Rust
Raw Normal View History

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