diff --git a/tests/ui/cast.stderr b/tests/ui/cast.stderr index 1c3176e85106..42232808c9bc 100644 --- a/tests/ui/cast.stderr +++ b/tests/ui/cast.stderr @@ -159,19 +159,19 @@ LL | false as bool; | ^^^^^^^^^^^^^ error: casting integer literal to f32 is unnecessary - --> $DIR/cast.rs:62:5 + --> $DIR/cast.rs:64:5 | LL | 100 as f32; | ^^^^^^^^^^ help: try: `100_f32` error: casting integer literal to f64 is unnecessary - --> $DIR/cast.rs:63:5 + --> $DIR/cast.rs:65:5 | LL | 100 as f64; | ^^^^^^^^^^ help: try: `100_f64` error: casting integer literal to f64 is unnecessary - --> $DIR/cast.rs:64:5 + --> $DIR/cast.rs:66:5 | LL | 100_i32 as f64; | ^^^^^^^^^^^^^^ help: try: `100_f64`