Type checker panics on a buggy trait implementation #107545
Labels
A-incr-comp
Area: Incremental compilation
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.
Summary
I've been experimenting with the type level Peano arithmetic, and in the process I made a stupid mistake - I incorrectly implemented one of the traits. This in turn led to a panic in the compiler process and seems to be a compiler bug. I will try to come up with a minimal case that reproduces the problem, but so far so.
Version:
rustc 1.66.0 (69f9c33d7 2022-12-12) running on x86_64-unknown-linux-gnu
Code
Error message
The text was updated successfully, but these errors were encountered: