-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: error performing operation: fully_perform
#124189
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
Comments
The ICE indeed appeared at
2024-01-01 ~ 2024-04-20 Log
2024-01-01 ~ 2024-04-19 Log
|
This is probably a duplicate of #103899 |
Ah I see, it only ICEs on older editions. If you're using a new cargo project to bisect, it will be set to edition=2021 by With that, an ICE bisects to Yeah it looks related to #103899, and both are in very close pieces of code -- although the repro there seems older, so maybe not an exact duplicate per se, but seemingly share some common WF-related cause. That one ICEs in liveness (one of the steps in MIR typeck, |
This code looks like it reproduces this same error #![allow(warnings)]
trait Scopable: Sized {
type SubType: Scopable;
}
enum Tree<T: Scopable> {
Group(Vec<Tree<T>>),
Subtree(Box<Tree<T::SubType>>),
Leaf(T),
}
impl<T: Scopable<SubType = ()>> Tree<T> {
fn foo(self) -> Self {
self
}
}
fn main() {} Error Message
|
Code
(reduced)
Original Code
Meta
rustc --version --verbose
:Command
rustc
Error output
Backtrace
Note
ICE-loc:
compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs:85:25
rust/compiler/rustc_trait_selection/src/traits/query/type_op/custom.rs
Lines 82 to 86 in f9b1614
Original ICE-triggering code is mutated from test-file
implied-bounds-unnorm-associated-type-2.rs
rust/tests/ui/fn/implied-bounds-unnorm-associated-type-2.rs
Lines 11 to 16 in c8d19a9
The text was updated successfully, but these errors were encountered: