rust/tests/ui/issues/issue-38556.rs
2023-01-11 09:32:08 +00:00

14 lines
155 B
Rust

// run-pass
#![allow(dead_code)]
pub struct Foo;
macro_rules! reexport {
() => { use Foo as Bar; }
}
reexport!();
fn main() {
fn f(_: Bar) {}
}