-
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: const parameter
'_/#0 ('_/#0/0) out of range when instantiating args=[]
#120793
Labels
C-bug
Category: This is a bug.
F-anonymous_lifetime_in_impl_trait
`#![feature(anonymous_lifetime_in_impl_trait)]`
F-effects
`#![feature(effects)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
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.
F-effects
`#![feature(effects)]`
labels
Feb 8, 2024
rustbot
added
the
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
label
Feb 8, 2024
oli-obk
added
requires-nightly
This issue requires a nightly compiler in some way.
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Feb 8, 2024
Minimized: // can't use build-fail, because this also fails check-fail, but
// the ICE from #120787 only reproduces on build-fail.
// compile-flags: --emit=mir
#![feature(effects)]
trait Dim {
fn dim() -> usize;
}
enum Dim3 {}
impl Dim for Dim3 {
fn dim(x: impl Sized) -> usize {
3
}
}
fn main() {
[0; Dim3::dim()];
} |
matthiaskrgr
changed the title
ice:
ice: Mar 18, 2024
Region parameter out of range when substituting in region
Region parameter out of range when instantiating in region
matthiaskrgr
added
the
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
label
Apr 15, 2024
fmease
added
the
F-anonymous_lifetime_in_impl_trait
`#![feature(anonymous_lifetime_in_impl_trait)]`
label
Apr 24, 2024
matthiaskrgr
changed the title
ice:
ice: Jun 2, 2024
Region parameter out of range when instantiating in region
const parameter
'_/#0 ('_/#0/0) out of range when instantiating args=[]
update:
|
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.
F-anonymous_lifetime_in_impl_trait
`#![feature(anonymous_lifetime_in_impl_trait)]`
F-effects
`#![feature(effects)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
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.
full stderr (including backtrace)
The text was updated successfully, but these errors were encountered: