Combination of const generics, extra braces around a const generic parameter, and cross-crate use causes stack overflow #73120
Labels
A-const-generics
Area: const generics (parameters and arguments)
C-bug
Category: This is a bug.
F-const_generics
`#![feature(const_generics)]`
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
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.
Code
All files packaged in a single Gist: https://gist.github.com/yvt/2fec54f8012d512c59216b5d2ef82d63
lib1/src/lib.rs
:lib2/src/lib.rs
:Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: