Stream: general

Topic: Strange (contradictory) error


Arlie Davis (Mar 20 2020 at 05:51, on Zulip):

Hello, all. I ran into a strange error today, E0283, which was recommending that I give a type annotation to a closure parameter. However, the closure parameter already has a type annotation. Would anyone have a second to look at this?

Minimal repro: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=6fcd3b7c42154d139a1e50c9ecf793ed

Laurențiu Nicola (Mar 20 2020 at 08:18, on Zulip):

See https://github.com/rust-lang/rust/issues/70082

Arlie Davis (Mar 20 2020 at 16:03, on Zulip):

I see. Thank you!

Last update: Jun 05 2020 at 22:30UTC