Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
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
()
{}