mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
244 B
Rust
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() {}
|