E0121 suggests the use of the unique type of a generator #80844
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-invalid-suggestion
Diagnostics: A structured suggestion resulting in incorrect code.
F-coroutines
`#![feature(coroutines)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
cc #80179
This still fails on generators (playground):
Tested on:
I'm working on a PR to fix this as well as making this suggestion and E0308's
try adding a return type
suggestion use the same mechanism for checking if a type is suggestable directly.@rustbot claim
@rustbot modify labels: +A-diagnostics +D-invalid-suggestion +F-generators +T-compiler
The text was updated successfully, but these errors were encountered: