Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
macros
/
issue-78892-substitution-in-statement-attr.rs
blob: bdb9f873410238a89aebb3737ff930edd459ba5a [
file
] [
log
] [
blame
] [
edit
]
//@ check-pass
// regression test for #78892
macro_rules
!
mac
{
(
$lint_name
:
ident
)
=>
{{
#[
allow
(
$lint_name
)]
let
_
=
();
}};
}
fn
main
()
{
mac
!(
dead_code
)
}