We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ea828b commit 4d9e9c6Copy full SHA for 4d9e9c6
src/test/ui/suggestions/into-str.stderr
@@ -8,7 +8,6 @@ LL | foo(String::new());
8
| ^^^ the trait `std::convert::From<std::string::String>` is not implemented for `&str`
9
|
10
= note: to coerce a `std::string::String` into a `&str`, use `&*` as a prefix
11
- = note: `std::convert::From<std::string::String>` is implemented for `&mut str`, but not for `&str`
12
= note: required because of the requirements on the impl of `std::convert::Into<&str>` for `std::string::String`
13
14
error: aborting due to previous error
0 commit comments