rust/tests/ui/macros/macro-def-site-super.rs
2023-01-11 09:32:08 +00:00

11 lines
244 B
Rust

// `super` in a `macro` refers to the parent module of the macro itself and not its reexport.
// check-pass
// aux-build:macro-def-site-super.rs
extern crate macro_def_site_super;
type A = macro_def_site_super::public::mac!();
fn main() {}