Skip to content

Error messages don't follow style convention of Trait<Type = T> #40641

Closed
@clarfonthey

Description

@clarfonthey

Currently, rustfmt modifies these statements to include a space around the equal sign, but error messages don't do this. I'd appreciate if this were changed to follow rustfmt because I use Fira Code which converts =< into a ligature for , and statements like the below format awkwardly:

std::ops::Index<std::ops::RangeFrom<usize>, Output=<T as strlike::StrLike>::Data>

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions