]> git.lizzy.rs Git - rust.git/blob - src/test/ui/integral-variable-unification-error.stderr
Rollup merge of #61207 - taiki-e:arbitrary_self_types-lifetime-elision-2, r=Centril
[rust.git] / src / test / ui / integral-variable-unification-error.stderr
1 error[E0308]: mismatched types
2   --> $DIR/integral-variable-unification-error.rs:3:9
3    |
4 LL |     x = 5.0;
5    |         ^^^ expected integer, found floating-point number
6    |
7    = note: expected type `{integer}`
8               found type `{float}`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.