-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-type-systemArea: Type systemArea: Type systemC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.S-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.
Description
Important
This type-system feature is currently not on track to be implemented / become part of the language!
Implement the missing type equality constraint specified in RFC 135.
Examples
fn sum<I: Iterator>(_: I) -> i32
where
I::Item == i32 // or `I::Item = i32`
{
// ...
}
Note
As a matter of fact, $type = $type
and $type == $type
are syntactically valid and don't raise any feature gate warning/error if cfg
'ed out! This is likely unintentional and should be ironed out.
LunNova, msrd0, real-felix, CodeSandwich, alexreg and 122 moremanortecSajjon, manortec and schneiderfelipemanortec, net and schneiderfelipemanortec and schneiderfelipemanortec and Chaoses-Ib
Metadata
Metadata
Assignees
Labels
A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-type-systemArea: Type systemArea: Type systemC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-design-concernsStatus: There are blocking design concerns.Status: There are blocking design concerns.S-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-langRelevant to the language teamRelevant to the language teamT-typesRelevant to the types team, which will review and decide on the PR/issue.Relevant to the types team, which will review and decide on the PR/issue.