Skip to content

Commit

Permalink
Fix line numbers in ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed May 22, 2017
1 parent bff4795 commit 6f681c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/ui/cast-to-unsized-trait-object-suggestion.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ error: cast to unsized type: `&{integer}` as `std::marker::Send`
| help: try casting to a reference instead: `&Send`

error: cast to unsized type: `std::boxed::Box<{integer}>` as `std::marker::Send`
--> $DIR/cast-to-unsized-trait-object-suggestion.rs:16:5
--> $DIR/cast-to-unsized-trait-object-suggestion.rs:13:5
|
16 | Box::new(1) as Send;
13 | Box::new(1) as Send;
| ^^^^^^^^^^^^^^^----
| |
| help: try casting to a `Box` instead: `Box<Send>`
Expand Down

0 comments on commit 6f681c2

Please sign in to comment.