1 error[E0277]: cannot add `{float}` to `u8`
2 --> $DIR/not-suggest-float-literal.rs:2:7
5 | ^ no implementation for `u8 + {float}`
7 = help: the trait `Add<{float}>` is not implemented for `u8`
8 = help: the following other types implement trait `Add<Rhs>`:
14 error[E0277]: cannot add `&str` to `f64`
15 --> $DIR/not-suggest-float-literal.rs:6:7
18 | ^ no implementation for `f64 + &str`
20 = help: the trait `Add<&str>` is not implemented for `f64`
21 = help: the following other types implement trait `Add<Rhs>`:
27 error[E0277]: cannot add `{integer}` to `f64`
28 --> $DIR/not-suggest-float-literal.rs:11:7
31 | ^ no implementation for `f64 + {integer}`
33 = help: the trait `Add<{integer}>` is not implemented for `f64`
34 = help: the following other types implement trait `Add<Rhs>`:
40 error[E0277]: cannot subtract `{float}` from `u8`
41 --> $DIR/not-suggest-float-literal.rs:15:7
44 | ^ no implementation for `u8 - {float}`
46 = help: the trait `Sub<{float}>` is not implemented for `u8`
47 = help: the following other types implement trait `Sub<Rhs>`:
53 error[E0277]: cannot subtract `&str` from `f64`
54 --> $DIR/not-suggest-float-literal.rs:19:7
57 | ^ no implementation for `f64 - &str`
59 = help: the trait `Sub<&str>` is not implemented for `f64`
60 = help: the following other types implement trait `Sub<Rhs>`:
66 error[E0277]: cannot subtract `{integer}` from `f64`
67 --> $DIR/not-suggest-float-literal.rs:24:7
70 | ^ no implementation for `f64 - {integer}`
72 = help: the trait `Sub<{integer}>` is not implemented for `f64`
73 = help: the following other types implement trait `Sub<Rhs>`:
79 error[E0277]: cannot multiply `u8` by `{float}`
80 --> $DIR/not-suggest-float-literal.rs:28:7
83 | ^ no implementation for `u8 * {float}`
85 = help: the trait `Mul<{float}>` is not implemented for `u8`
86 = help: the following other types implement trait `Mul<Rhs>`:
92 error[E0277]: cannot multiply `f64` by `&str`
93 --> $DIR/not-suggest-float-literal.rs:32:7
96 | ^ no implementation for `f64 * &str`
98 = help: the trait `Mul<&str>` is not implemented for `f64`
99 = help: the following other types implement trait `Mul<Rhs>`:
100 <&'a f64 as Mul<f64>>
105 error[E0277]: cannot multiply `f64` by `{integer}`
106 --> $DIR/not-suggest-float-literal.rs:37:7
109 | ^ no implementation for `f64 * {integer}`
111 = help: the trait `Mul<{integer}>` is not implemented for `f64`
112 = help: the following other types implement trait `Mul<Rhs>`:
113 <&'a f64 as Mul<f64>>
118 error[E0277]: cannot divide `u8` by `{float}`
119 --> $DIR/not-suggest-float-literal.rs:41:7
122 | ^ no implementation for `u8 / {float}`
124 = help: the trait `Div<{float}>` is not implemented for `u8`
125 = help: the following other types implement trait `Div<Rhs>`:
129 <u8 as Div<NonZeroU8>>
132 error[E0277]: cannot divide `f64` by `&str`
133 --> $DIR/not-suggest-float-literal.rs:45:7
136 | ^ no implementation for `f64 / &str`
138 = help: the trait `Div<&str>` is not implemented for `f64`
139 = help: the following other types implement trait `Div<Rhs>`:
140 <&'a f64 as Div<f64>>
145 error[E0277]: cannot divide `f64` by `{integer}`
146 --> $DIR/not-suggest-float-literal.rs:50:7
149 | ^ no implementation for `f64 / {integer}`
151 = help: the trait `Div<{integer}>` is not implemented for `f64`
152 = help: the following other types implement trait `Div<Rhs>`:
153 <&'a f64 as Div<f64>>
158 error: aborting due to 12 previous errors
160 For more information about this error, try `rustc --explain E0277`.