Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
());
}