@@ -15,6 +15,7 @@ LL | String::from("x".as_ref());
1515 | ^^^^^^
1616 |
1717 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
18+ - impl AsRef<ByteStr> for str;
1819 - impl AsRef<OsStr> for str;
1920 - impl AsRef<Path> for str;
2021 - impl AsRef<[u8]> for str;
@@ -41,6 +42,7 @@ LL | |x| String::from("x".as_ref());
4142 | ^^^^^^
4243 |
4344 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
45+ - impl AsRef<ByteStr> for str;
4446 - impl AsRef<OsStr> for str;
4547 - impl AsRef<Path> for str;
4648 - impl AsRef<[u8]> for str;
@@ -57,6 +59,7 @@ LL | let _ = "x".as_ref();
5759 | ^ ------ type must be known at this point
5860 |
5961 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
62+ - impl AsRef<ByteStr> for str;
6063 - impl AsRef<OsStr> for str;
6164 - impl AsRef<Path> for str;
6265 - impl AsRef<[u8]> for str;
@@ -83,6 +86,7 @@ LL | String::from("x".as_ref());
8386 | ^^^^^^
8487 |
8588 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
89+ - impl AsRef<ByteStr> for str;
8690 - impl AsRef<OsStr> for str;
8791 - impl AsRef<Path> for str;
8892 - impl AsRef<[u8]> for str;
@@ -109,6 +113,7 @@ LL | String::from("x".as_ref());
109113 | ^^^^^^
110114 |
111115 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
116+ - impl AsRef<ByteStr> for str;
112117 - impl AsRef<OsStr> for str;
113118 - impl AsRef<Path> for str;
114119 - impl AsRef<[u8]> for str;
@@ -135,6 +140,7 @@ LL | String::from("x".as_ref());
135140 | ^^^^^^
136141 |
137142 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
143+ - impl AsRef<ByteStr> for str;
138144 - impl AsRef<OsStr> for str;
139145 - impl AsRef<Path> for str;
140146 - impl AsRef<[u8]> for str;
@@ -161,6 +167,7 @@ LL | String::from("x".as_ref());
161167 | ^^^^^^
162168 |
163169 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
170+ - impl AsRef<ByteStr> for str;
164171 - impl AsRef<OsStr> for str;
165172 - impl AsRef<Path> for str;
166173 - impl AsRef<[u8]> for str;
@@ -187,6 +194,7 @@ LL | String::from("x".as_ref());
187194 | ^^^^^^
188195 |
189196 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
197+ - impl AsRef<ByteStr> for str;
190198 - impl AsRef<OsStr> for str;
191199 - impl AsRef<Path> for str;
192200 - impl AsRef<[u8]> for str;
@@ -213,6 +221,7 @@ LL | String::from("x".as_ref());
213221 | ^^^^^^
214222 |
215223 = note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
224+ - impl AsRef<ByteStr> for str;
216225 - impl AsRef<OsStr> for str;
217226 - impl AsRef<Path> for str;
218227 - impl AsRef<[u8]> for str;
0 commit comments