const_evaluatable_checked can cause a stackoverflow #79615
Labels
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=6bdb59061285589534c53004561c978a
causes
(it does ICE with incremental enabled, this is a different bug and tracked separately)
We end up referencing an inference variable in the value of said inference variable, causing an infinite type.
This should ordinarily be prevented by the occurs check. We either have a bug there or there is something else I have missed
The text was updated successfully, but these errors were encountered: