- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Description
https://github.com/khuey/rustc-1.18-regression
I'm not sure that this is a minimal testcase, but it's small enough to poke around at. With rustc 1.17 this compiles fine. With 1.18 I get
error[E0284]: type annotations required: cannot resolve `<_ as futures::IntoFuture>::Future == _`
  --> src/lib.rs:15:18
   |
15 |           Box::new(join_all(vec2.iter()
   |  __________________^
16 | |                           .map(move |_| {
17 | |                               iter::<_, _, ()>(vec1.iter()
18 | |                                                .filter_map(move |_| {
...  |
24 | |                                   })
25 | |                           })))
Metadata
Metadata
Assignees
Labels
P-highHigh priorityHigh priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.