-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: async fn coroutine return type not an inference variable
#119890
Labels
A-async-await
Area: Async & Await
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
matthiaskrgr
added
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.
C-bug
Category: This is a bug.
labels
Jan 12, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Jan 12, 2024
fmease
added
A-async-await
Area: Async & Await
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Jan 12, 2024
Also ices in Rust 2021 in case anybody was wondering. Further reduced: trait Foo {
async fn foo<'a>(self: &'a Foo) -> &'a () {
self.0
}
} |
fmease
added
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
labels
Jan 12, 2024
rustbot
added
the
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
label
Jan 12, 2024
fmease
added
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
and removed
I-prioritize
Issue: Indicates that prioritization has been requested for this issue.
labels
Jan 12, 2024
|
It's #117449 of course 🙃 |
matthiaskrgr
removed
the
E-needs-bisection
Call for participation: This issue needs bisection: https://github.com/rust-lang/cargo-bisect-rustc
label
Jan 12, 2024
@oli-obk fyi |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jan 18, 2024
…r=compiler-errors Don't ICE when deducing future output if other errors already occurred The situation can't really happen outside of erroneous code. What was interesting is that it ICEd before emitting any other diagnostics. This was because the other errors were silenced due to cycle_delay_bug cycle errors. r? `@compiler-errors` fixes rust-lang#119890
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jan 18, 2024
…r=compiler-errors Don't ICE when deducing future output if other errors already occurred The situation can't really happen outside of erroneous code. What was interesting is that it ICEd before emitting any other diagnostics. This was because the other errors were silenced due to cycle_delay_bug cycle errors. r? ``@compiler-errors`` fixes rust-lang#119890
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jan 18, 2024
Rollup merge of rust-lang#120057 - oli-obk:not_sure_wtf_is_going_on, r=compiler-errors Don't ICE when deducing future output if other errors already occurred The situation can't really happen outside of erroneous code. What was interesting is that it ICEd before emitting any other diagnostics. This was because the other errors were silenced due to cycle_delay_bug cycle errors. r? ```@compiler-errors``` fixes rust-lang#119890
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-async-await
Area: Async & Await
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
regression-from-stable-to-nightly
Performance or correctness regression from stable to nightly.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc
Program output
The text was updated successfully, but these errors were encountered: