ICE: 'unexpected non-GAT usage of an anon const' when using Inherent associated type with const generic #109759
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-inherent_associated_types
`#![feature(inherent_associated_types)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
I used
10usize
since just10
gave acannot infer type for type
{integer}` error.Don't know if it's related, but thought I should mention it.
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: