-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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: relating different kinds: ?2t '?2
#127745
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
Naserume
added
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.
labels
Jul 15, 2024
rustbot
added
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
F-unboxed_closures
`#![feature(unboxed_closures)]`
labels
Jul 15, 2024
Regression in nightly-2024-03-22 |
Minimized: trait EmptyTrait<'a> {
type Associated;
}
type Bogus = <i64 as EmptyTrait<'static>>::Associated;
trait Subtrait: Supertrait<i32> {
fn do_thing(self);
}
trait Supertrait<T> {}
struct Foo;
impl Subtrait for Foo {
fn do_thing(self) {}
}
impl Supertrait<Bogus> for Foo {}
fn what() {
Foo.do_thing();
} Error output
@rustbot labels -F-unboxed_closures |
duplicate of #126416 ? |
@Naserume it would be nice if you could check the bugtracker before posting something, as right now about 30-50% of your bugreports are just re-reports of ices we already know about it seems 🙃 |
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Jul 15, 2024
Make sure trait def ids match before zipping args in `note_function_argument_obligation` Fixes rust-lang#126416 Fixes rust-lang#127745 Didn't add both tests b/c I felt like it was unnecessary.
saethlin
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Jul 16, 2024
tgross35
added a commit
to tgross35/rust
that referenced
this issue
Jul 16, 2024
Make sure trait def ids match before zipping args in `note_function_argument_obligation` Fixes rust-lang#126416 Fixes rust-lang#127745 Didn't add both tests b/c I felt like it was unnecessary.
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jul 16, 2024
Rollup merge of rust-lang#127780 - compiler-errors:zip-args, r=jieyouxu Make sure trait def ids match before zipping args in `note_function_argument_obligation` Fixes rust-lang#126416 Fixes rust-lang#127745 Didn't add both tests b/c I felt like it was unnecessary.
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
Note
ICE location
rust/compiler/rustc_infer/src/infer/at.rs
Lines 383 to 420 in fcaa6fd
@rustbot label +F-unboxed_closures
The text was updated successfully, but these errors were encountered: