Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
did_you_mean
/
pub-macro-rules.rs
blob: c5393703f70919687a92b223d99b6bb6f244453c [
file
] [
log
] [
blame
]
#[
macro_use
]
mod
bleh
{
pub
macro_rules
!
foo
{
//~ ERROR can't qualify macro_rules invocation
(
$n
:
ident
)
=>
(
fn
$n
()
->
i32
{
1
}
)
}
}
foo
!(
meh
);
fn
main
()
{
println
!(
"{}"
,
meh
());
}