Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
lambda-var-hygiene.rs
blob: 9cc4cc29bf59d3a09ca38c169c6a74aadd01c116 [
file
] [
log
] [
blame
]
// shouldn't affect evaluation of $ex:
macro_rules
!
bad_macro
{
(
$ex
:
expr
)
=>
({(|
_x
|
{
$ex
})
(
9
)
})
}
fn
takes_x
(
_x
:
isize
)
{
assert_eq
!(
bad_macro
!(
_x
),
8
);
}
fn
main
()
{
takes_x
(
8
);
}