Sign in
android
/
toolchain
/
rustc
/
f7ad1c480b8dc4097ef67cd82ec1c5b706e10950
/
.
/
src
/
test
/
ui
/
integral-variable-unification-error.rs
blob: 8d1621321e8e6ca0b2392181fbe55675601b3849 [
file
] [
log
] [
blame
]
fn
main
()
{
let
mut
x
//~ NOTE expected due to the type of this binding
=
2
;
//~ NOTE expected due to this value
x
=
5.0
;
//~^ ERROR mismatched types
//~| NOTE expected integer, found floating-point number
}