mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 04:04:06 +00:00
14 lines
280 B
Rust
14 lines
280 B
Rust
// edition:2018
|
|
|
|
#![no_core]
|
|
#![feature(no_core)]
|
|
|
|
// @!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;
|