Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
parser
/
const-block-items
/
macro-stmt.rs
blob: 38632d2eec337231ddb75939a2c278d91bb76923 [
file
] [
log
] [
blame
] [
edit
]
//@ check-fail
#![
feature
(
const_block_items
)]
macro_rules
!
foo
{
(
$item
:
item
)
=>
{
$item
//~^ ERROR: expected expression, found ``
};
}
fn
main
()
{
foo
!(
const
{});
}