-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: min const gen default_function_param.rs with -Zsave-analysis; hit a todo!() #80589
Comments
Oh my, I'll fix that now. The syntax is gated but evidently the Update: Ah but I misread the code, this is actually using const generics defaults. They're not done yet, ICE-ing is expected until the feature is completed in #75384. @matthiaskrgr how did you hit that ? Were you trying to use const generics defaults or did the ICE come up unexpectedly ? I can open a PR that will do nothing here instead of ICE-ing. |
I made a small program that executes rustc on all the rust files with different flags and filters the ICEs. |
On nightly-2020-12-31 (commit 44e3daf), I get a parse error with the code you provided:
|
Yes, the PR was merged ~7 hours ago, it's not in nightly yet. |
Ah, things move fast :) How did you get a build with the commit then? Did you use |
There are inofficial "master" builds released for every merge commit in the repo (the latest one is then promoted to "nightly" once at some point of the day) |
Oh, I forgot about RTIM 😄 |
#80599 will remove the ICE so that only the |
Code
code from
./src/test/ui/const-generics/min_const_generics/default_function_param.rs
Meta
rustc --version --verbose
:Error output
rustc ./src/test/ui/const-generics/min_const_generics/default_function_param.rs -Zsave-analysis
Backtrace
This happens since
a609fb4
cc @lqd
The text was updated successfully, but these errors were encountered: