2021-02-26 16:55:08 -06:00
|
|
|
// edition:2018
|
|
|
|
|
|
|
|
#![no_core]
|
|
|
|
#![feature(no_core)]
|
|
|
|
|
|
|
|
// @set inner_id = simple_public.json "$.index[*][?(@.name=='inner')].id"
|
|
|
|
pub mod inner {
|
|
|
|
|
|
|
|
// @set public_id = - "$.index[*][?(@.name=='Public')].id"
|
2022-07-19 10:57:38 -05:00
|
|
|
// @ismany - "$.index[*][?(@.name=='inner')].inner.items[*]" $public_id
|
2021-02-26 16:55:08 -06:00
|
|
|
pub struct Public;
|
|
|
|
}
|
|
|
|
|
|
|
|
// @set import_id = - "$.index[*][?(@.inner.name=='Public')].id"
|
2021-03-21 21:48:51 -05:00
|
|
|
// @is - "$.index[*][?(@.inner.name=='Public')].inner.source" \"inner::Public\"
|
2021-02-26 16:55:08 -06:00
|
|
|
pub use inner::Public;
|
2022-07-19 10:57:38 -05:00
|
|
|
|
|
|
|
// @ismany - "$.index[*][?(@.name=='simple_public')].inner.items[*]" $import_id $inner_id
|