@@ -15,6 +15,7 @@ LL | String::from("x".as_ref());
15
15
| ^^^^^^
16
16
|
17
17
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
18
+ - impl AsRef<ByteStr> for str;
18
19
- impl AsRef<OsStr> for str;
19
20
- impl AsRef<Path> for str;
20
21
- impl AsRef<[u8]> for str;
@@ -41,6 +42,7 @@ LL | |x| String::from("x".as_ref());
41
42
| ^^^^^^
42
43
|
43
44
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
45
+ - impl AsRef<ByteStr> for str;
44
46
- impl AsRef<OsStr> for str;
45
47
- impl AsRef<Path> for str;
46
48
- impl AsRef<[u8]> for str;
@@ -57,6 +59,7 @@ LL | let _ = "x".as_ref();
57
59
| ^ ------ type must be known at this point
58
60
|
59
61
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
62
+ - impl AsRef<ByteStr> for str;
60
63
- impl AsRef<OsStr> for str;
61
64
- impl AsRef<Path> for str;
62
65
- impl AsRef<[u8]> for str;
@@ -83,6 +86,7 @@ LL | String::from("x".as_ref());
83
86
| ^^^^^^
84
87
|
85
88
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
89
+ - impl AsRef<ByteStr> for str;
86
90
- impl AsRef<OsStr> for str;
87
91
- impl AsRef<Path> for str;
88
92
- impl AsRef<[u8]> for str;
@@ -109,6 +113,7 @@ LL | String::from("x".as_ref());
109
113
| ^^^^^^
110
114
|
111
115
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
116
+ - impl AsRef<ByteStr> for str;
112
117
- impl AsRef<OsStr> for str;
113
118
- impl AsRef<Path> for str;
114
119
- impl AsRef<[u8]> for str;
@@ -135,6 +140,7 @@ LL | String::from("x".as_ref());
135
140
| ^^^^^^
136
141
|
137
142
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
143
+ - impl AsRef<ByteStr> for str;
138
144
- impl AsRef<OsStr> for str;
139
145
- impl AsRef<Path> for str;
140
146
- impl AsRef<[u8]> for str;
@@ -161,6 +167,7 @@ LL | String::from("x".as_ref());
161
167
| ^^^^^^
162
168
|
163
169
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
170
+ - impl AsRef<ByteStr> for str;
164
171
- impl AsRef<OsStr> for str;
165
172
- impl AsRef<Path> for str;
166
173
- impl AsRef<[u8]> for str;
@@ -187,6 +194,7 @@ LL | String::from("x".as_ref());
187
194
| ^^^^^^
188
195
|
189
196
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
197
+ - impl AsRef<ByteStr> for str;
190
198
- impl AsRef<OsStr> for str;
191
199
- impl AsRef<Path> for str;
192
200
- impl AsRef<[u8]> for str;
@@ -213,6 +221,7 @@ LL | String::from("x".as_ref());
213
221
| ^^^^^^
214
222
|
215
223
= note: multiple `impl`s satisfying `str: AsRef<_>` found in the following crates: `core`, `std`:
224
+ - impl AsRef<ByteStr> for str;
216
225
- impl AsRef<OsStr> for str;
217
226
- impl AsRef<Path> for str;
218
227
- impl AsRef<[u8]> for str;
0 commit comments