]> git.lizzy.rs Git - rust.git/blob - tests/ui/binop/binop-mul-i32-f32.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
[rust.git] / tests / 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 i32 as Mul<i32>>
10              <&i32 as Mul<&i32>>
11              <i32 as Mul<&i32>>
12              <i32 as Mul>
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.