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

16 lines
336 B
Rust
Raw Normal View History

2021-10-13 19:12:18 -05:00
// edition:2018
#![no_core]
#![feature(no_core)]
2022-08-17 05:55:09 -05:00
// @set repro_id = "$.index[*][?(@.name=='repro')].id"
2021-10-13 19:12:18 -05:00
#[macro_export]
macro_rules! repro {
() => {};
}
2022-08-17 05:55:09 -05:00
// @set repro2_id = "$.index[*][?(@.inner.name=='repro2')].id"
2021-10-13 19:12:18 -05:00
pub use crate::repro as repro2;
2022-07-19 10:57:38 -05:00
2022-08-17 05:55:09 -05:00
// @ismany "$.index[*][?(@.name=='macro')].inner.items[*]" $repro_id $repro2_id