Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
4486c24db3ca1c698b34ea08bee15194774b53df
/
.
/
tests
/
ui
/
macros
/
issue-29084.rs
blob: d16252686698d29466df439201345d9eec27ab70 [
file
] [
log
] [
blame
]
macro_rules
!
foo
{
(
$d
:
expr
)
=>
{{
fn
bar
(
d
:
u8
)
{
}
bar
(&
mut
$d
);
//~^ ERROR mismatched types
//~| expected `u8`, found `&mut u8`
}}
}
fn
main
()
{
foo
!(
0u8
);
//~^ in this expansion of foo!
}