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

17 lines
219 B
Rust

// run-pass
#![allow(path_statements)]
// pretty-expanded FIXME #23616
macro_rules! inner {
($e:pat ) => ($e)
}
macro_rules! outer {
($e:pat ) => (inner!($e))
}
fn main() {
let outer!(g1) = 13;
g1;
}