diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-12-20 11:43:19 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-12-20 11:43:19 +0100 |
| commit | 28e2c6aff90b8afef7722c825b381fc24172ac6b (patch) | |
| tree | 21de126f41c0bfad8cb8229f4c8d18dab2757380 | |
| parent | f439a24ca2bd55fd339063544f77e31c842ad83a (diff) | |
| download | rust-28e2c6aff90b8afef7722c825b381fc24172ac6b.tar.gz rust-28e2c6aff90b8afef7722c825b381fc24172ac6b.zip | |
Update ui test stderr
| -rw-r--r-- | src/test/ui/span/coerce-suggestions.stderr | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/test/ui/span/coerce-suggestions.stderr b/src/test/ui/span/coerce-suggestions.stderr index 36732283014..e3164661507 100644 --- a/src/test/ui/span/coerce-suggestions.stderr +++ b/src/test/ui/span/coerce-suggestions.stderr @@ -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 @@ -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 |
