Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
parser
/
macro
/
trait-non-item-macros.rs
blob: 958c90b7c0a16e2358c51fbee15a79d9d14f477c [
file
] [
log
] [
blame
]
macro_rules
!
bah
{
(
$a
:
expr
)
=>
(
$a
)
//~^ ERROR expected one of `async`, `const`, `extern`, `fn`, `type`, or `unsafe`, found `2`
}
trait
bar
{
bah
!(
2
);
}
fn
main
()
{}