Skip to content

Type parameters should be distinguished from lifetime variables in pretty printer #5313

Closed
@lifthrasiir

Description

@lifthrasiir

Type parameters (ty_param) are currently pretty-printed as 'a or 'a:foo, where the former is same as new syntax for lifetime variables (#4846, not reflected to pp yet) and confusing enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lifetimesArea: Lifetimes / regionsA-prettyArea: Pretty printing (including `-Z unpretty`)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions