summaryrefslogtreecommitdiffstats
path: root/tests/ui/binop/binop-mul-i32-f32.stderr
blob: 115e700061981b7498a77e67b95e7d839e159183 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 previous error

For more information about this error, try `rustc --explain E0277`.