Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
da7ada584a3e5c3467b8b9f344b4a0f2a81ce32a
/
.
/
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
}