From 28e2c6aff90b8afef7722c825b381fc24172ac6b Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 20 Dec 2016 11:43:19 +0100 Subject: [PATCH] Update ui test stderr --- src/test/ui/span/coerce-suggestions.stderr | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/test/ui/span/coerce-suggestions.stderr b/src/test/ui/span/coerce-suggestions.stderr index 367322830140..e31646615070 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