rust/tests/ui/hygiene/auxiliary/pub_hygiene.rs

8 lines
71 B
Rust
Raw Normal View History

2021-10-23 06:06:58 -05:00
#![feature(decl_macro)]
macro x() {
pub struct MyStruct;
}
x!();