ICE with add
lang-item with generic param
#104213
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.
Fuzzing found this by modifying src/test/ui/associated-types/associated-types-ICE-when-projecting-out-of-err.rs.
The key modification is adding a generic parameter to the
add
method of theadd
lang-item.NB: It still ICEs even without
no_core
, after noting "duplicate lang item".Code
Error output
The assertion is in
construct_obligation_for_trait
:Backtrace
Version
The text was updated successfully, but these errors were encountered: