-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICE: no entry found for key
generics_of.rs
#113017
Comments
Crashes since at least stable rustc |
It would be very easy to do that if rustc decided to stop providing the quality of diagnostics that it does, and e.g. simply collected all parse errors and printed them for the user. Instead, it looks at utterly nonsensical input and tries to keep going so it can offer help. |
pub fn foo()
where
for<const N: usize = { || {}; 1 }> ():,
{} seems to be a more minimal repro (although its hard to tell from just the backtraces whether its the same underlying cause) If you add |
That appears to be a different ICE message on stable 1.70.0 than when the feature is enabled, not sure if that is relevant here. |
It ices in the same point of the code, #![feature(generic_const_exprs)]
pub fn foo()
where
for<const N: usize = { || {}; 1 }> ():,
{} EDIT: cat! |
WG-prioritization assigning priority (Zulip discussion). @rustbot label -I-prioritize +P-medium |
add more ice tests fixes rust-lang#119275 fixes rust-lang#113017 fixes rust-lang#112824 fixes rust-lang#112823 fixes rust-lang#121472 fixes rust-lang#110696
Rollup merge of rust-lang#122863 - matthiaskrgr:teest, r=lcnr add more ice tests fixes rust-lang#119275 fixes rust-lang#113017 fixes rust-lang#112824 fixes rust-lang#112823 fixes rust-lang#121472 fixes rust-lang#110696
Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: