-
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: unexpected non-Self
predicate when computing SelfOnly
implied bounds` recursive const trait
#133526
Labels
C-bug
Category: This is a bug.
F-const_trait_impl
`#![feature(const_trait_impl)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
PG-const-traits
Project group: Const traits
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
matthiaskrgr
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Nov 27, 2024
rustbot
added
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
F-const_trait_impl
`#![feature(const_trait_impl)]`
labels
Nov 27, 2024
Command: Program output
|
fmease
changed the title
ICE:
ICE: unexpected non-Nov 27, 2024
unexpected non-
Self predicate when computing
SelfOnly implied bounds
recursive const traitSelf
predicate when computing SelfOnly
implied bounds` recursive const trait
jieyouxu
added
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
PG-const-traits
Project group: Const traits
and removed
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
labels
Nov 27, 2024
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 11, 2024
Rollup merge of rust-lang#134105 - compiler-errors:validate-self-preds, r=wesleywiser Validate self in host predicates correctly `assert_only_contains_predicates_from` was added to make sure that we are computing predicates for the correct self type for a given `PredicateFilter`. That was not implemented correctly for `PredicateFilter::SelfOnly` when there are const predicates. Fixes rust-lang#133526
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-const_trait_impl
`#![feature(const_trait_impl)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
PG-const-traits
Project group: Const traits
requires-debug-assertions
This issue requires a build of rustc or tooling with debug-assertions in some way
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
auto-reduced (treereduce-rust):
original:
Version information
Possibly related line of code:
rust/compiler/rustc_hir_analysis/src/collect/predicates_of.rs
Lines 694 to 706 in dff3e7c
@rustbot label +F-const_trait_impl
The text was updated successfully, but these errors were encountered: