-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Passing array of return
to a function with wrong number/type of arguments causes an ICE
#98897
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
C-bug
Category: This is a bug.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
@rustbot label regression-from-stable-to-nightly |
I think this should actually be |
Sorry @rustbot label -regression-from-stable-to-nightly |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
matthiaskrgr
added a commit
to matthiaskrgr/glacier
that referenced
this issue
Jul 7, 2022
This was referenced Jul 18, 2022
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jul 23, 2022
…rk-Simulacrum Add some additional double-adjustment regression tests I accidentally missed these when I rebased rust-lang#98785 cc rust-lang#98894 and rust-lang#98897
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.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
P-medium
Medium priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Found this one while researching for #98894, probably has a related cause (since #92364 diagnostics call
check_expr
a second time which confuses the compiler). This is an ICE though so opening a dedicated issue.cc @compiler-errors
Code
Bisection
searched nightlies: from nightly-2022-04-10 to nightly-2022-05-09
regressed nightly: nightly-2022-04-17
searched commit range: 3f391b8...878c783
regressed commit: 07bb916
bisected with cargo-bisect-rustc v0.6.3
Host triple: x86_64-unknown-linux-gnu
Reproduce with:
src/main.rs
:Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: