]> git.lizzy.rs Git - rust.git/blob - src/test/ui/binop/binop-mul-i32-f32.stderr
:arrow_up: rust-analyzer
[rust.git] / src / test / ui / binop / binop-mul-i32-f32.stderr
1 error[E0277]: cannot multiply `i32` by `f32`
2   --> $DIR/binop-mul-i32-f32.rs:2:7
3    |
4 LL |     x * y
5    |       ^ no implementation for `i32 * f32`
6    |
7    = help: the trait `Mul<f32>` is not implemented for `i32`
8    = help: the following other types implement trait `Mul<Rhs>`:
9              <&'a f32 as Mul<f32>>
10              <&'a f64 as Mul<f64>>
11              <&'a i128 as Mul<i128>>
12              <&'a i16 as Mul<i16>>
13              <&'a i32 as Mul<i32>>
14              <&'a i64 as Mul<i64>>
15              <&'a i8 as Mul<i8>>
16              <&'a isize as Mul<isize>>
17            and 49 others
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0277`.