ICE after using const for const generic param #111055
Labels
C-bug
Category: This is a bug.
F-generic_const_exprs
`#![feature(generic_const_exprs)]`
F-inherent_associated_types
`#![feature(inherent_associated_types)]`
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.
Code
The ICE occurred after I used
DEFAULT_CHUNK_SIZE
as the generic const parameter forReader
andWriter
instead of using a literal.Here is the exact code: ericlagergren/stream-rs@4608177
I don't have a minimal repro, sorry.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: