ICE: broken MIR: NoSolution on HRTB over GAT in trait object #130524
Labels
A-GATs
Area: Generic associated types (GATs)
A-higher-ranked
Area: Higher-ranked things (e.g., lifetimes, types, trait bounds aka HRTBs)
A-lifetimes
Area: Lifetimes / regions
A-trait-objects
Area: trait objects, vtable layout
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
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.
Code
MWE below, also tested on nightly (via the playground). Interestingly the error goes away if I manually inline the
Node::new
calls. Minimised from a filter graph that uses trait objects for type erasure.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: