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

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

16 lines
336 B
Rust
Raw Normal View History

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