Repository navigation
Constraining one associated type doesn't normalize the bounds on others #37808
Copy link
Copy link
Closed
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Activity
Note that this version works: https://is.gd/MIFVFg
(Removing the
A)- addedA-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
on Oct 10, 2019 - addedF-associated_type_bounds`#![feature(associated_type_bounds)]``#![feature(associated_type_bounds)]`
on Nov 5, 2019 - addedA-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)
on Jul 11, 2020 This now compiles.
- addedE-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
on Feb 2, 2021 - removedF-associated_type_bounds`#![feature(associated_type_bounds)]``#![feature(associated_type_bounds)]`
on Feb 2, 2021 - added 2 commits that reference this issue
on Feb 2, 2021 - addedA-trait-systemArea: Trait systemArea: Trait systemand removedA-trait-systemArea: Trait systemArea: Trait system
on Dec 21, 2024
Metadata
Metadata
Assignees
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)A-lazy-normalizationArea: Lazy normalization (tracking issue: #60471)Area: Lazy normalization (tracking issue: #60471)A-trait-systemArea: Trait systemArea: Trait systemC-bugCategory: This is a bug.Category: This is a bug.E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
The trait system seems to be missing a normalization in bounds for associated items:
produces the error: