-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE with lifetime'd associated type on stable #61064
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
Comments
Backtrace
There has been a few issues lately with const generics, because the ICE happen altough the feature gate is missing. |
I would think this isn't a const generics issue, but rather an issue with associated types? Since lifetimes aren't currently allowed on the type definition. |
yes, this is a dupe of #60654 |
triage: P-medium. Removing nomination since I do not think this needs discussion. Closing as dupe of #60654. But since this (#61064) and #60654 are clearly biting people (who are then rightfully filing bugs, the compiler is asking them to do so, I'm going to assign both bugs to myself, and hopefully fix (by issuing the error diagnostic but not the ICE). |
Yes, you're right. Haven't payed enough attention. Sorry for that! |
Playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=8f737364785513fd20d1ef32c1c03bd6
Tested on 1.33, 1.34.2
The text was updated successfully, but these errors were encountered: