rust/src/test/ui/issues/issue-38556.rs
2019-07-27 18:56:16 +03: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) {}
}