Skip to content

Commit

Permalink
Update ui test stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Dec 20, 2016
1 parent f439a24 commit 28e2c6a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/test/ui/span/coerce-suggestions.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ error[E0308]: mismatched types
|
= note: expected type `&str`
= note: found type `std::string::String`
= help: try with `&String::new()`
= help: here are some functions which might fulfill your needs:
- .as_str()
- .trim()
- .trim_left()
- .trim_right()

error[E0308]: mismatched types
--> $DIR/coerce-suggestions.rs:30:10
Expand All @@ -28,7 +32,6 @@ error[E0308]: mismatched types
|
= note: expected type `&mut std::string::String`
= note: found type `&std::string::String`
= help: try with `&mut y`

error[E0308]: mismatched types
--> $DIR/coerce-suggestions.rs:36:11
Expand Down

0 comments on commit 28e2c6a

Please sign in to comment.