]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/out-of-order-shadowing.rs
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / out-of-order-shadowing.rs
index 1fafaf85112be1e3c4ae42601e0a46a2743192b6..977b475b11340477b848f393f92d0f90e93f8d03 100644 (file)
@@ -9,11 +9,10 @@
 // except according to those terms.
 
 // aux-build:define_macro.rs
-// error-pattern: `bar` is already in scope
 
 macro_rules! bar { () => {} }
 define_macro!(bar);
-bar!();
+bar!(); //~ ERROR `bar` is ambiguous
 
 macro_rules! m { () => { #[macro_use] extern crate define_macro; } }
 m!();