Files
rust/tests/rustdoc-ui/issues/ice-macro-hidden-exported-macro-defid-101076.rs

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

16 lines
271 B
Rust
Raw Normal View History

2022-08-28 01:20:26 +09:00
//@ check-pass
2024-12-08 21:39:48 -07:00
// https://github.com/rust-lang/rust/issues/101076
2022-08-28 01:20:26 +09:00
const _: () = {
#[macro_export]
macro_rules! first_macro {
() => {}
}
mod foo {
#[macro_export]
macro_rules! second_macro {
() => {}
}
}
};