ICE: 'assertion failed: num_missing_args > 0', compiler/rustc_typeck/src/structured_errors/wrong_number_of_generic_args.rs:234:17 #87718
Labels
C-bug
Category: This is a bug.
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.
Code
Experimenting with #83701, the following compiles without an issue:
But with multiple APIT using the same type parameter, ICEs occur:
playground
rustc --version
:Error output
The two separate panic messages:
Backtrace
The text was updated successfully, but these errors were encountered: