[ICE]: Broken MIR: Box<dyn …$T…>
is not a subtype of Box<dyn …$AssocTy…>
: No solution
#132685
Closed
1 of 4 tasks
Labels
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) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
Code
Affected release channels
Rust Version
rustc 1.84.0-nightly (bc5cf99 2024-11-05)
binary: rustc
commit-hash: bc5cf99
commit-date: 2024-11-05
host: x86_64-unknown-linux-gnu
release: 1.84.0-nightly
LLVM version: 19.1.3
Current error output
Backtrace
Anything else?
note: compiler flags: --crate-type staticlib -C link-dead-code -C debuginfo=2 -C opt-level=3 -Z mir-opt-level=3(fmease: unnecessary)The text was updated successfully, but these errors were encountered: