Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
out-of-order-shadowing.rs
blob: 3d26d4f2c911b1e203e09d6aa85c729880b59f6e [
file
] [
log
] [
blame
] [
edit
]
//@ aux-build:define-macro.rs
macro_rules
!
bar
{
()
=>
{}
}
define_macro
!(
bar
);
bar
!();
//~ ERROR `bar` is ambiguous
macro_rules
!
m
{
()
=>
{
#[
macro_use
]
extern
crate define_macro
;
}
}
m
!();
fn
main
()
{}