@@ -21,20 +21,20 @@ LL | String::from("x".as_ref());
2121 - impl AsRef<str> for str;
2222help: try using a fully qualified path to specify the expected types
2323 |
24- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
25- | ++++++++++++++++++++++++++++++++++++++++++++ ~
24+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
25+ | ++++++++++++++++++++++++++++++ ~
2626help: try using a fully qualified path to specify the expected types
2727 |
28- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
29- | +++++++++++++++++++++++++++++++++++++++++ ~
28+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
29+ | +++++++++++++++++++++++++++++ ~
3030help: try using a fully qualified path to specify the expected types
3131 |
3232LL | String::from(<str as AsRef<str>>::as_ref("x"));
3333 | ++++++++++++++++++++++++++++ ~
3434help: try using a fully qualified path to specify the expected types
3535 |
36- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
37- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
36+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
37+ | +++++++++++++++++++++++++++++ ~
3838
3939error[E0283]: type annotations needed
4040 --> $DIR/issue-72690.rs:12:9
@@ -59,20 +59,20 @@ LL | |x| String::from("x".as_ref());
5959 - impl AsRef<str> for str;
6060help: try using a fully qualified path to specify the expected types
6161 |
62- LL | |x| String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
63- | ++++++++++++++++++++++++++++++++++++++++++++ ~
62+ LL | |x| String::from(<str as AsRef<OsStr>>::as_ref("x"));
63+ | ++++++++++++++++++++++++++++++ ~
6464help: try using a fully qualified path to specify the expected types
6565 |
66- LL | |x| String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
67- | +++++++++++++++++++++++++++++++++++++++++ ~
66+ LL | |x| String::from(<str as AsRef<Path>>::as_ref("x"));
67+ | +++++++++++++++++++++++++++++ ~
6868help: try using a fully qualified path to specify the expected types
6969 |
7070LL | |x| String::from(<str as AsRef<str>>::as_ref("x"));
7171 | ++++++++++++++++++++++++++++ ~
7272help: try using a fully qualified path to specify the expected types
7373 |
74- LL | |x| String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
75- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
74+ LL | |x| String::from(<str as AsRef<[u8]>>::as_ref("x"));
75+ | +++++++++++++++++++++++++++++ ~
7676
7777error[E0283]: type annotations needed for `&_`
7878 --> $DIR/issue-72690.rs:17:9
@@ -113,20 +113,20 @@ LL | String::from("x".as_ref());
113113 - impl AsRef<str> for str;
114114help: try using a fully qualified path to specify the expected types
115115 |
116- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
117- | ++++++++++++++++++++++++++++++++++++++++++++ ~
116+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
117+ | ++++++++++++++++++++++++++++++ ~
118118help: try using a fully qualified path to specify the expected types
119119 |
120- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
121- | +++++++++++++++++++++++++++++++++++++++++ ~
120+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
121+ | +++++++++++++++++++++++++++++ ~
122122help: try using a fully qualified path to specify the expected types
123123 |
124124LL | String::from(<str as AsRef<str>>::as_ref("x"));
125125 | ++++++++++++++++++++++++++++ ~
126126help: try using a fully qualified path to specify the expected types
127127 |
128- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
129- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
128+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
129+ | +++++++++++++++++++++++++++++ ~
130130
131131error[E0283]: type annotations needed
132132 --> $DIR/issue-72690.rs:28:5
@@ -151,20 +151,20 @@ LL | String::from("x".as_ref());
151151 - impl AsRef<str> for str;
152152help: try using a fully qualified path to specify the expected types
153153 |
154- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
155- | ++++++++++++++++++++++++++++++++++++++++++++ ~
154+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
155+ | ++++++++++++++++++++++++++++++ ~
156156help: try using a fully qualified path to specify the expected types
157157 |
158- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
159- | +++++++++++++++++++++++++++++++++++++++++ ~
158+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
159+ | +++++++++++++++++++++++++++++ ~
160160help: try using a fully qualified path to specify the expected types
161161 |
162162LL | String::from(<str as AsRef<str>>::as_ref("x"));
163163 | ++++++++++++++++++++++++++++ ~
164164help: try using a fully qualified path to specify the expected types
165165 |
166- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
167- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
166+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
167+ | +++++++++++++++++++++++++++++ ~
168168
169169error[E0283]: type annotations needed
170170 --> $DIR/issue-72690.rs:37:5
@@ -189,20 +189,20 @@ LL | String::from("x".as_ref());
189189 - impl AsRef<str> for str;
190190help: try using a fully qualified path to specify the expected types
191191 |
192- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
193- | ++++++++++++++++++++++++++++++++++++++++++++ ~
192+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
193+ | ++++++++++++++++++++++++++++++ ~
194194help: try using a fully qualified path to specify the expected types
195195 |
196- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
197- | +++++++++++++++++++++++++++++++++++++++++ ~
196+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
197+ | +++++++++++++++++++++++++++++ ~
198198help: try using a fully qualified path to specify the expected types
199199 |
200200LL | String::from(<str as AsRef<str>>::as_ref("x"));
201201 | ++++++++++++++++++++++++++++ ~
202202help: try using a fully qualified path to specify the expected types
203203 |
204- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
205- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
204+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
205+ | +++++++++++++++++++++++++++++ ~
206206
207207error[E0283]: type annotations needed
208208 --> $DIR/issue-72690.rs:46:5
@@ -227,20 +227,20 @@ LL | String::from("x".as_ref());
227227 - impl AsRef<str> for str;
228228help: try using a fully qualified path to specify the expected types
229229 |
230- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
231- | ++++++++++++++++++++++++++++++++++++++++++++ ~
230+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
231+ | ++++++++++++++++++++++++++++++ ~
232232help: try using a fully qualified path to specify the expected types
233233 |
234- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
235- | +++++++++++++++++++++++++++++++++++++++++ ~
234+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
235+ | +++++++++++++++++++++++++++++ ~
236236help: try using a fully qualified path to specify the expected types
237237 |
238238LL | String::from(<str as AsRef<str>>::as_ref("x"));
239239 | ++++++++++++++++++++++++++++ ~
240240help: try using a fully qualified path to specify the expected types
241241 |
242- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
243- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
242+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
243+ | +++++++++++++++++++++++++++++ ~
244244
245245error[E0283]: type annotations needed
246246 --> $DIR/issue-72690.rs:53:5
@@ -265,20 +265,20 @@ LL | String::from("x".as_ref());
265265 - impl AsRef<str> for str;
266266help: try using a fully qualified path to specify the expected types
267267 |
268- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
269- | ++++++++++++++++++++++++++++++++++++++++++++ ~
268+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
269+ | ++++++++++++++++++++++++++++++ ~
270270help: try using a fully qualified path to specify the expected types
271271 |
272- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
273- | +++++++++++++++++++++++++++++++++++++++++ ~
272+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
273+ | +++++++++++++++++++++++++++++ ~
274274help: try using a fully qualified path to specify the expected types
275275 |
276276LL | String::from(<str as AsRef<str>>::as_ref("x"));
277277 | ++++++++++++++++++++++++++++ ~
278278help: try using a fully qualified path to specify the expected types
279279 |
280- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
281- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
280+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
281+ | +++++++++++++++++++++++++++++ ~
282282
283283error[E0283]: type annotations needed
284284 --> $DIR/issue-72690.rs:62:5
@@ -303,20 +303,20 @@ LL | String::from("x".as_ref());
303303 - impl AsRef<str> for str;
304304help: try using a fully qualified path to specify the expected types
305305 |
306- LL | String::from(os_str::<impl AsRef<OsStr> for str >::as_ref("x"));
307- | ++++++++++++++++++++++++++++++++++++++++++++ ~
306+ LL | String::from(<str as AsRef<OsStr>>::as_ref("x"));
307+ | ++++++++++++++++++++++++++++++ ~
308308help: try using a fully qualified path to specify the expected types
309309 |
310- LL | String::from(path::<impl AsRef<Path> for str >::as_ref("x"));
311- | +++++++++++++++++++++++++++++++++++++++++ ~
310+ LL | String::from(<str as AsRef<Path>>::as_ref("x"));
311+ | +++++++++++++++++++++++++++++ ~
312312help: try using a fully qualified path to specify the expected types
313313 |
314314LL | String::from(<str as AsRef<str>>::as_ref("x"));
315315 | ++++++++++++++++++++++++++++ ~
316316help: try using a fully qualified path to specify the expected types
317317 |
318- LL | String::from(core::str::<impl AsRef<[u8]> for str >::as_ref("x"));
319- | ++++++++++++++++++++++++++++++++++++++++++++++ ~
318+ LL | String::from(<str as AsRef<[u8]>>::as_ref("x"));
319+ | +++++++++++++++++++++++++++++ ~
320320
321321error: aborting due to 17 previous errors
322322
0 commit comments