rust/src/test/rustdoc-json/reexport/simple_public.rs

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

19 lines
566 B
Rust
Raw Normal View History

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