You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
E0121 suggests the use of the unique type of a generator #80844
error[E0121]: the type placeholder `_` is not allowed within types on item signatures
--> src/lib.rs:3:13
|
3 | fn foo() -> _ {
| ^
| |
| not allowed in type signatures
| help: replace with the correct return type: [generator@src/lib.rs:4:5: 4:18 {i32, ()}]
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.
Status update: I'm not certain I'm the right person for the job due to my warped schedule, among other things. You can find the progress I made at #80847, but note that a rebase caused important tests to fail. The commits might be usable as a basis for a new PR, but they're probably useless directly. I might come back to this when I have more time/control over my life.
Activity
camelid commentedon Jan 9, 2021
@PatchMixolydic By the way, you don't need to open an issue if you're immediately going to open a PR.
PatchMixolydic commentedon Jan 9, 2021
My mistake 😅
camelid commentedon Jan 9, 2021
Don't worry about it! It's not a problem; I was just letting you know that you shouldn't feel obliged to do it :)
PatchMixolydic commentedon Mar 20, 2021
Status update: I'm not certain I'm the right person for the job due to my warped schedule, among other things. You can find the progress I made at #80847, but note that a rebase caused important tests to fail. The commits might be usable as a basis for a new PR, but they're probably useless directly. I might come back to this when I have more time/control over my life.
compiler-errors commentedon Jun 7, 2022
This seems to be resolved on nightly.