-
Notifications
You must be signed in to change notification settings - Fork 13.3k
wrong help message #139839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Taking a look. |
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Apr 15, 2025
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Apr 15, 2025
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Apr 15, 2025
Zalathar
added a commit
to Zalathar/rust
that referenced
this issue
Apr 16, 2025
…ompiler-errors Fix wrong "move keyword" suggestion for async gen block Fixes rust-lang#139839. It was just missing a string comparison with `async gen`.
Zalathar
added a commit
to Zalathar/rust
that referenced
this issue
Apr 16, 2025
…ompiler-errors Fix wrong "move keyword" suggestion for async gen block Fixes rust-lang#139839. It was just missing a string comparison with `async gen`.
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Apr 16, 2025
Rollup merge of rust-lang#139871 - GuillaumeGomez:async-gen-move, r=compiler-errors Fix wrong "move keyword" suggestion for async gen block Fixes rust-lang#139839. It was just missing a string comparison with `async gen`.
joshlf
pushed a commit
to joshlf/rust
that referenced
this issue
Apr 16, 2025
joshlf
pushed a commit
to joshlf/rust
that referenced
this issue
Apr 16, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen:
when rustc tell me
and give me a right help message, to add the
move
keyword after thegen
Instead, this happened:
it give me
follow this help message, now rustc report
so I have to tried
async gen move
, and it works for meMeta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: