mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 23:12:02 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
17 lines
515 B
Plaintext
17 lines
515 B
Plaintext
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`
|
|
= help: the following other types implement trait `Mul<Rhs>`:
|
|
<i32 as Mul>
|
|
<i32 as Mul<&i32>>
|
|
<&'a i32 as Mul<i32>>
|
|
<&i32 as Mul<&i32>>
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|