]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/unnecessary_cast_fixable.stderr
iterate List by value
[rust.git] / tests / ui / unnecessary_cast_fixable.stderr
index 74616bb90822b547670eeeb0118396a1a016880f..8ff1e5dea600363fd583099b9e3b51b2aca7facf 100644 (file)
@@ -1,4 +1,4 @@
-error: casting integer literal to f32 is unnecessary
+error: casting integer literal to `f32` is unnecessary
   --> $DIR/unnecessary_cast_fixable.rs:8:5
    |
 LL |     100 as f32;
@@ -6,13 +6,13 @@ LL |     100 as f32;
    |
    = note: `-D clippy::unnecessary-cast` implied by `-D warnings`
 
-error: casting integer literal to f64 is unnecessary
+error: casting integer literal to `f64` is unnecessary
   --> $DIR/unnecessary_cast_fixable.rs:9:5
    |
 LL |     100 as f64;
    |     ^^^^^^^^^^ help: try: `100_f64`
 
-error: casting integer literal to f64 is unnecessary
+error: casting integer literal to `f64` is unnecessary
   --> $DIR/unnecessary_cast_fixable.rs:10:5
    |
 LL |     100_i32 as f64;