Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
integral-variable-unification-error.rs
blob: 5200b4a829db236f4298288cabf0f03bb13ea250 [
file
] [
log
] [
blame
]
fn
main
()
{
let
mut
x
=
2
;
x
=
5.0
;
//~^ ERROR mismatched types
//~| expected integer, found floating-point number
}