We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2ebaf commit a6bb32cCopy full SHA for a6bb32c
tests/ui/cast.stderr
@@ -159,19 +159,19 @@ LL | false as bool;
159
| ^^^^^^^^^^^^^
160
161
error: casting integer literal to f32 is unnecessary
162
- --> $DIR/cast.rs:62:5
+ --> $DIR/cast.rs:64:5
163
|
164
LL | 100 as f32;
165
| ^^^^^^^^^^ help: try: `100_f32`
166
167
error: casting integer literal to f64 is unnecessary
168
- --> $DIR/cast.rs:63:5
+ --> $DIR/cast.rs:65:5
169
170
LL | 100 as f64;
171
| ^^^^^^^^^^ help: try: `100_f64`
172
173
174
- --> $DIR/cast.rs:64:5
+ --> $DIR/cast.rs:66:5
175
176
LL | 100_i32 as f64;
177
| ^^^^^^^^^^^^^^ help: try: `100_f64`
0 commit comments