Rustc crashes at compiler/rustc_middle/src/ty/instance.rs, caused by assertion left matches right
failed
#136138
Labels
C-bug
Category: This is a bug.
F-min_generic_const_args
`#![feature(min_generic_const_args)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-bug-has-test
Status: This bug is tracked inside the repo by a `known-bug` test.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Note that if we remove the first line
#![feature(min_generic_const_args)]
, the panic disappeares.Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: