error[E0277]: cannot add `f64` to `i32` --> prog.rs:4:13 | 4 | let c = a + b; | ^ no implementation for `i32 + f64` | = help: the trait `Add<f64>` is not implemented for `i32` error: aborting due to previous error For more information about this error, try `rustc --explain E0277`.