Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
none-delim-lookahead.rs
blob: b604339be9b37594ef951d820429f71da3c5c2e1 [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
macro_rules
!
make_struct
{
(
$name
:
ident
)
=>
{
#[
derive
(
Debug
)]
struct
Foo
{
#[
cfg
(
not
(
FALSE
))]
field
:
fn
(
$name
:
bool
)
}
}
}
make_struct
!(
param_name
);
fn
main
()
{}