Skip to content

Imply outlives-bounds on lazy type aliases #118479

Closed
@fmease

Description

@fmease

In the most recent design meeting (2023-11-09), T-lang has decided to move forward with “treating lazy type aliases like structs” with respect to where-clauses. Concretely, this means that we want to check lazy type aliases for well-formedness without implying any bounds other than outlives-bounds. The former has already been implemented, the latter not yet as we don't imply any outlives-bounds at all at the moment.

Opening this issue to properly keep track of this implementation step and to clarify who is the person responsible for the implementation (me as it stands).

Metadata

Metadata

Assignees

Labels

A-implied-boundsArea: Implied bounds / inferred outlives-boundsC-enhancementCategory: An issue proposing an enhancement or a PR with one.F-lazy_type_alias`#![feature(lazy_type_alias)]`T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions