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
246 B
Rust
Raw Normal View History

// edition:2018
// @!has "$.index[*][?(@.name=='inner')]"
mod inner {
2022-08-17 05:55:09 -05:00
// @has "$.index[*][?(@.name=='Public')]"
pub struct Public;
}
// @is "$.index[*][?(@.inner.import)].inner.import.name" \"NewName\"
pub use inner::Public as NewName;