Sign in
rust
/
rust
/
HEAD
/
.
/
tests
/
ui
/
typeck
/
issue-84160.rs
blob: 7b444df85282af77ebe9641e65cdc0d8e95fecc8 [
file
] [
log
] [
blame
]
fn
mismatched_types_with_reference
(
x
:
&
u32
)
->
&
u32
{
if
false
{
return
x
;
}
return
"test"
;
//~^ERROR mismatched types
}
fn
main
()
{}