]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24352.stderr
Auto merge of #57108 - Mark-Simulacrum:license-remove, r=pietroalbini
[rust.git] / src / test / ui / issues / issue-24352.stderr
1 error[E0277]: cannot subtract `{integer}` from `f64`
2   --> $DIR/issue-24352.rs:3:12
3    |
4 LL |     1.0f64 - 1 //~ ERROR E0277
5    |            ^ no implementation for `f64 - {integer}`
6    |
7    = help: the trait `std::ops::Sub<{integer}>` is not implemented for `f64`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.