Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
lint
/
rfc-2383-lint-reason
/
expect_inside_macro.rs
blob: 7bfb84c8826948ded7b51fa3bf3453d2eb07860f [
file
] [
log
] [
blame
]
//@ check-pass
#![
feature
(
lint_reasons
)]
#![
warn
(
unused
)]
macro_rules
!
expect_inside_macro
{
()
=>
{
#[
expect
(
unused_variables
)]
let
x
=
0
;
};
}
fn
main
()
{
expect_inside_macro
!();
}