regression: type annotations needed · Issue #125196 · rust-lang/rust (original) (raw)

[INFO] [stdout] error[E0284]: type annotations needed
[INFO] [stdout]   --> src/apply.rs:81:7
[INFO] [stdout]    |
[INFO] [stdout] 81 |     b.apply(a.fmap(|x: A| f(move |_| x.clone())))
[INFO] [stdout]    |       ^^^^^ cannot infer type for struct `ApplyFn<'a, B, _>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: cannot satisfy `<MB as Apply<'a, B>>::Target<ApplyFn<'a, B, _>> == _`