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:

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


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

I see. Thank you!

Last update: Jun 05 2020 at 22:30UTC