Matthias Krüger
300d3fb2fd
Rollup merge of #122799 - estebank:issue-122569, r=fee1-dead
Replace closures with `_` when suggesting fully qualified path for method call
```
error[E0283]: type annotations needed
--> $DIR/into-inference-needs-type.rs:12:10
|
LL | .into()?;
| ^^^^
|
= note: cannot satisfy `_: From<...>`
= note: required for `FilterMap<...>` to implement `Into<_>`
help: try using a fully qualified path to specify the expected types
|
LL ~ let list = <FilterMap<Map<std::slice::Iter<'_, &str>, _>, _> as Into<T>>::into(vec
LL | .iter()
LL | .map(|s| s.strip_prefix("t"))
LL ~ .filter_map(Option::Some))?;
|
```
Fix #122569.
2024-03-21 12:05:08 +01:00
..
2024-03-20 13:43:41 +00:00
2024-03-21 04:11:09 +00:00
2024-03-20 22:30:27 +01:00
2024-03-21 06:12:24 +00:00
2024-03-19 09:17:40 +00:00
2024-03-19 00:04:09 +00:00
2024-03-20 05:51:22 +01:00
2024-03-19 18:03:51 +01:00
2024-03-20 05:51:22 +01:00
2024-03-21 09:01:18 +00:00
2024-03-19 00:04:09 +00:00
2024-03-20 13:43:41 +00:00
2024-03-21 12:05:07 +01:00
2024-03-20 22:30:27 +01:00
2024-03-21 04:11:09 +00:00
2024-03-21 12:05:08 +01:00
2024-03-20 16:47:11 +01:00
2024-03-21 12:05:08 +01:00
2024-03-21 12:05:08 +01:00
2024-03-20 13:00:34 -04:00
2024-03-16 23:28:47 +01:00
2024-03-17 10:11:04 -07:00
2024-03-21 06:12:24 +00:00
2024-03-21 12:05:08 +01:00
2024-03-21 12:05:05 +01:00
2024-03-20 08:49:13 -04:00
2024-03-21 09:01:18 +00:00
2024-03-21 09:01:18 +00:00
2024-03-20 05:51:22 +01:00
2024-03-16 22:33:02 +00:00
2024-03-19 18:03:53 +01:00
2024-03-20 22:30:27 +01:00
2024-03-21 04:11:09 +00:00
2024-03-20 05:51:24 +01:00
2024-03-18 09:34:08 +00:00
2024-03-20 22:30:27 +01:00
2024-03-19 16:59:23 -04:00
2024-03-21 12:05:06 +01:00
2024-03-21 12:05:05 +01:00
2024-03-18 09:34:08 +00:00
2024-03-19 16:59:24 -04:00
2024-03-20 17:29:58 +00:00
2024-03-20 00:12:00 +03:00