-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
A-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now
Description
#![feature(generators)]
fn main() {
let x = || { yield 3 };
}
When using VSCode with this code I notice that:
- It seems a
yieldwith argument is reported by analyzer as error. - Also helping hint about
xtype displays thatxhave closure type|| -> i32instead of generator trait type.
DzmitryFil, ivan, s-arash, hyuuko1, tommyZZM and 3 moretommyZZM
Metadata
Metadata
Assignees
Labels
A-tytype system / type inference / traits / method resolutiontype system / type inference / traits / method resolutionS-actionableSomeone could pick this issue up and work on it right nowSomeone could pick this issue up and work on it right now