Skip to content

Commit

Permalink
updated stderr for tests/ui/cast
Browse files Browse the repository at this point in the history
  • Loading branch information
cemiloten committed Apr 25, 2019
1 parent 2f2ebaf commit a6bb32c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/ui/cast.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit a6bb32c

Please sign in to comment.