ICE with const generics and chalk: "var types encountered in super_relate_consts" #65675
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Compiling the following code with
rustc 1.40.0-nightly (7979016af 2019-10-20)
with-Z chalk
leads to an ICE. Without chalk, it works fine.Possible related (because of similar error message) to #62579?
Output:
Code responsible (already has a FIXME):
rust/src/librustc/ty/relate.rs
Lines 560 to 568 in 10f12fe
CC @varkor @Skinny121
The text was updated successfully, but these errors were encountered: