rust/src/test/ui/integral-variable-unification-error.stderr
2019-11-18 11:03:03 -08:00

10 lines
279 B
Plaintext

error[E0308]: mismatched types
--> $DIR/integral-variable-unification-error.rs:3:9
|
LL | x = 5.0;
| ^^^ expected integer, found floating-point number
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.