-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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: tcx: index out of bounds #129075
Labels
A-mir-opt
Area: MIR optimizations
A-mir-opt-inlining
Area: MIR inlining
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
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
Aug 14, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Aug 14, 2024
matthiaskrgr
added
A-mir-opt
Area: MIR optimizations
A-mir-opt-inlining
Area: MIR inlining
labels
Aug 14, 2024
#128612 :/ |
matthiaskrgr
added
the
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
label
Aug 16, 2024
saethlin
removed
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Aug 19, 2024
auto-reduced (treereduce-rust): //@compile-flags: -Zvalidate-mir -Cdebuginfo=2 -Copt-level=3
trait Meow {
fn poll(&self) {}
}
impl<T> Meow for T {
fn poll(&self, _ctx: &mut core::task::Context<'_>) {}
}
fn main() {
().poll();
} original: //@ revisions: e2021 e2024
//@[e2021] edition: 2021
//@[e2024] edition: 2024
//@[e2024] compile-flags: -Zunstable-options
//@ check-pass
#![deny(rust_2024_prelude_collisions)]
trait Meow {
fn poll(&self) {}
}
impl<T> Meow for T {
fn poll(&self, _ctx: &mut core::task::Context<'_>) {}
}
fn main() {
// As the self type here is not `Pin<&mut _>`, the lint does not fire.
().poll();
} Version information
Command: Program output
|
This was referenced Nov 23, 2024
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Nov 26, 2024
…=lcnr Make `compare_impl_item` into a query Turns `compare_impl_item` into a query (generalizing the existing query for `compare_impl_const`), and uses that in `Instance::resolve` to fail resolution when an implementation is incompatible with the trait it comes from. Fixes rust-lang#119701 Fixes rust-lang#121127 Fixes rust-lang#121411 Fixes rust-lang#129075 Fixes rust-lang#129127 Fixes rust-lang#129214 Fixes rust-lang#131294
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Nov 27, 2024
…=lcnr Make `compare_impl_item` into a query Turns `compare_impl_item` into a query (generalizing the existing query for `compare_impl_const`), and uses that in `Instance::resolve` to fail resolution when an implementation is incompatible with the trait it comes from. Fixes rust-lang#119701 Fixes rust-lang#121127 Fixes rust-lang#121411 Fixes rust-lang#129075 Fixes rust-lang#129127 Fixes rust-lang#129214 Fixes rust-lang#131294
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-mir-opt
Area: MIR optimizations
A-mir-opt-inlining
Area: MIR inlining
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original code
original:
Version information
Command:
/home/matthias/.rustup/toolchains/master/bin/rustc -Zvalidate-mir -Zinline-mir=yes
Program output
The text was updated successfully, but these errors were encountered: