-
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: explicit deref of non-derefable type
#125058
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
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
May 13, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
May 13, 2024
matthiaskrgr
changed the title
ICE: clippy:
ICE: May 13, 2024
explicit deref of non-derefable type
explicit deref of non-derefable type
rustc repro:
|
This ^ bisects to #124902 cc @compiler-errors |
This likely exposed a preexisting bug in previously |
#![feature(ref_pat_eat_one_layer_2024)]
struct Foo;
fn main() {
|| if let Some(Some(&mut x)) = &mut Some(&mut Some(0)) {
let _: u32 = x;
};
} @rustbot claim |
This was referenced May 13, 2024
saethlin
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
May 13, 2024
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
May 14, 2024
…ieril `rustc_hir_typeck`: Account for `skipped_ref_pats` in `expr_use_visitor` Fixes rust-lang#125058 r? `@Nadrieril` cc rust-lang#123076 `@rustbot` label A-edition-2024 A-patterns
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2024
`rustc_hir_typeck`: Account for `skipped_ref_pats` in `expr_use_visitor` Fixes rust-lang#125058 r? `@Nadrieril` cc rust-lang#123076 `@rustbot` label A-edition-2024 A-patterns
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.
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: