Skip to content

Commit 28e2c6a

Browse files
Update ui test stderr
1 parent f439a24 commit 28e2c6a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Diff for: src/test/ui/span/coerce-suggestions.stderr

+5-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ error[E0308]: mismatched types
1818
|
1919
= note: expected type `&str`
2020
= note: found type `std::string::String`
21-
= help: try with `&String::new()`
21+
= help: here are some functions which might fulfill your needs:
22+
- .as_str()
23+
- .trim()
24+
- .trim_left()
25+
- .trim_right()
2226

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

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

0 commit comments

Comments
 (0)