-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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: E0277
: span must not be empty..
/ {OpaqueTypeKey { def_id: DefId(..
/ report_selection_error' did not emit an error
#117014
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Program output
|
E0277
: span must not be empty and have no suggestion
E0277
: span must not be empty..
/ {OpaqueTypeKey { def_id: DefId(..
/ report_selection_error' did not emit an error
additional ices with Program output
|
Program output
|
slightly more reduced async fn bar() {
for x in [] {}.await
} |
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Oct 21, 2023
Rollup merge of rust-lang#117019 - lukas-code:for-await, r=compiler-errors fix spans for removing `.await` on `for` expressions We need to use a span with the outer syntax context of a desugared `for` expression to join it with the `.await` span. fixes rust-lang#117014
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) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
File: /tmp/span/be75c1c7e180eaf67d3475372cb21200b293ceaf.rs
auto-reduced (treereduce-rust):
original code
original:
Version information
Command:
/home/matthias/.rustup/toolchains/local-debug-assertions/bin/rustc --edition=2021
The text was updated successfully, but these errors were encountered: