-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
ice: already mutably borrowed: BorrowError
#117144
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
already mutably borrowed: BorrowError
Regression in 151256b probably #116792 ? cc @JonasAlaif |
This is due to #116841. The function name cc @chenyukang |
oops @chenyukang race condition, clicked the button before I saw you self-assigned -- I already found a fix 😆 |
yeah, go ahead please. |
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 25, 2023
Rollup merge of rust-lang#117152 - compiler-errors:no-ret-coercion, r=chenyukang Fix unwrap suggestion for async fn Use `body_fn_sig` to get the expected return type of the function instead of `ret_coercion` in `FnCtxt`. This avoids accessing the `ret_coercion` when it's already mutably borrowed (e.g. when checking `return` expressions). Fixes rust-lang#117144 r? `@chenyukang`
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
snippet:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc
Program output
The text was updated successfully, but these errors were encountered: