summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/into-str.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/suggestions/into-str.stderr')
-rw-r--r--tests/ui/suggestions/into-str.stderr8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ui/suggestions/into-str.stderr b/tests/ui/suggestions/into-str.stderr
index a56a2a188..7e24150e7 100644
--- a/tests/ui/suggestions/into-str.stderr
+++ b/tests/ui/suggestions/into-str.stderr
@@ -8,12 +8,12 @@ LL | foo(String::new());
|
= note: to coerce a `String` into a `&str`, use `&*` as a prefix
= help: the following other types implement trait `From<T>`:
- <String as From<&String>>
- <String as From<&mut str>>
- <String as From<&str>>
+ <String as From<char>>
<String as From<Box<str>>>
<String as From<Cow<'a, str>>>
- <String as From<char>>
+ <String as From<&str>>
+ <String as From<&mut str>>
+ <String as From<&String>>
= note: required for `String` to implement `Into<&str>`
note: required by a bound in `foo`
--> $DIR/into-str.rs:1:31