Sign in
fuchsia
/
third_party
/
rust
/
d440e136e753210882d930c6f4884a43984f6ba0
/
.
/
src
/
test
/
ui
/
issues
/
issue-29084.rs
blob: 86b348d8285979b0801dc822f6bea281a895dac6 [
file
] [
log
] [
blame
]
macro_rules
!
foo
{
(
$d
:
expr
)
=>
{{
fn
bar
(
d
:
u8
)
{
}
bar
(&
mut
$d
);
//~^ ERROR mismatched types
//~| expected u8, found &mut u8
//~| expected type `u8`
//~| found type `&mut u8`
}}
}
fn
main
()
{
foo
!(
0u8
);
//~^ in this expansion of foo!
}