]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/out-of-order-shadowing.rs
Rollup merge of #106970 - kylematsuda:earlybinder-item-bounds, r=lcnr
[rust.git] / tests / ui / macros / out-of-order-shadowing.rs
1 // aux-build:define-macro.rs
2
3 macro_rules! bar { () => {} }
4 define_macro!(bar);
5 bar!(); //~ ERROR `bar` is ambiguous
6
7 macro_rules! m { () => { #[macro_use] extern crate define_macro; } }
8 m!();
9
10 fn main() {}