rustc::traits::trans OutputTypeParameterMismatch ICE with higher-rank trait bounds and associated type #50886
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Given this code:
(Playground)
Trying to build results in an internal compiler error:
Note that
cargo check
finishes without errors; it's only when building that the ICE occurs.Meta
On my machine,
rustc --version --verbose
:On the playground, the ICE occurs on stable, beta, and nightly channels in both debug and release mode.
Backtrace generated by running
RUST_BACKTRACE=1 cargo build
on my machine:The text was updated successfully, but these errors were encountered: