2021-03-24 15:54:20 +00:00
|
|
|
// edition:2018
|
|
|
|
|
|
|
|
#![no_core]
|
|
|
|
#![feature(no_core)]
|
2022-07-15 17:48:46 +02:00
|
|
|
|
2022-08-17 12:55:09 +02:00
|
|
|
// @is "$.index[*][?(@.name=='inner')].kind" \"module\"
|
|
|
|
// @is "$.index[*][?(@.name=='inner')].inner.is_stripped" "true"
|
2021-03-24 15:54:20 +00:00
|
|
|
mod inner {
|
2022-08-17 12:55:09 +02:00
|
|
|
// @has "$.index[*][?(@.name=='Public')]"
|
2021-03-24 15:54:20 +00:00
|
|
|
pub struct Public;
|
|
|
|
}
|
|
|
|
|
2022-08-17 12:55:09 +02:00
|
|
|
// @is "$.index[*][?(@.kind=='import')].inner.name" \"NewName\"
|
2021-03-24 15:54:20 +00:00
|
|
|
pub use inner::Public as NewName;
|