ICE using return_position_impl_trait_in_trait
with default implementation
#102826
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
playground
rustc panics on:
but not on:
note that when not using the implementation, the compiler doesn't panic, but gives a
mismatch types
error (try commentingmain
)Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: