2020-10-17 21:59:51 -05:00
|
|
|
error[E0277]: cannot multiply `i32` by `f32`
|
|
|
|
--> $DIR/binop-mul-i32-f32.rs:2:7
|
|
|
|
|
|
|
|
|
LL | x * y
|
|
|
|
| ^ no implementation for `i32 * f32`
|
|
|
|
|
|
|
|
|
= help: the trait `Mul<f32>` is not implemented for `i32`
|
2022-03-26 21:02:07 -05:00
|
|
|
= help: the following other types implement trait `Mul<Rhs>`:
|
2022-03-26 20:49:01 -05:00
|
|
|
<&'a i32 as Mul<i32>>
|
2022-12-05 16:24:48 -06:00
|
|
|
<&i32 as Mul<&i32>>
|
|
|
|
<i32 as Mul<&i32>>
|
|
|
|
<i32 as Mul>
|
2020-10-17 21:59:51 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|