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

17 lines
354 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 {
() => {};
}
// @set repro2_id = "$.index[*][?(@.docs=='Re-export')].id"
/// Re-export
2021-10-13 19:12:18 -05:00
pub use crate::repro as repro2;
2022-07-19 10:57:38 -05:00
// @ismany "$.index[*][?(@.name=='macro')].inner.module.items[*]" $repro_id $repro2_id