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

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

16 lines
369 B
Rust
Raw Normal View History

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