Closed
Description
Playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=8f737364785513fd20d1ef32c1c03bd6
Tested on 1.33, 1.34.2
Metadata
Metadata
Assignees
Labels
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
hellow554 commentedon May 23, 2019
Backtrace
There has been a few issues lately with const generics, because the ICE happen altough the feature gate is missing.
Possible dup of #60814, #60813, #60724, #60619
TheDan64 commentedon May 23, 2019
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.
pnkfelix commentedon May 23, 2019
yes, this is a dupe of #60654
pnkfelix commentedon May 23, 2019
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).
hellow554 commentedon May 23, 2019
Yes, you're right. Haven't payed enough attention. Sorry for that!