rust/tests/rustdoc-json/reexport/simple_public.rs

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

17 lines
518 B
Rust
Raw Normal View History

2021-02-26 16:55:08 -06:00
//@ edition:2018
//@ set inner_id = "$.index[*][?(@.name=='inner')].id"
2021-02-26 16:55:08 -06:00
pub mod inner {
//@ set public_id = "$.index[*][?(@.name=='Public')].id"
//@ ismany "$.index[*][?(@.name=='inner')].inner.module.items[*]" $public_id
2021-02-26 16:55:08 -06:00
pub struct Public;
}
//@ set import_id = "$.index[*][?(@.docs=='Outer')].id"
//@ is "$.index[*][?(@.docs=='Outer')].inner.use.source" \"inner::Public\"
/// Outer
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.module.items[*]" $import_id $inner_id