Sign in
fuchsia
/
third_party
/
rust
/
972fef232ec0dd7a3f42091aa6f36cd68aeb3eef
/
.
/
tests
/
ui
/
macros
/
issue-34421-mac-expr-bad-stmt-good-add-semi.rs
blob: d78139365549a546b5093dff80615b87e1dea043 [
file
] [
log
] [
blame
]
macro_rules
!
make_item
{
(
$a
:
ident
)
=>
{
struct
$a
;
};
//~^ ERROR expected expression
//~| ERROR expected expression
}
fn
a
()
{
make_item
!(
A
)
}
fn
b
()
{
make_item
!(
B
)
}
fn
main
()
{}