Skip to content

Clippy seems a bit angry #78814

Closed
Closed
@Nicholas-Baron

Description

@Nicholas-Baron

Running a simple ./x.py clippy results in a roughly 49,000 line output.

Are we going to try to repair all ~3,500 warnings or are some of them not helpful?
There is an argument to be made that some do have performance implications (unwrap_or vs unwrap_or_else, push vs push_str).
Other are entirely cosmetic (one letter bindings, removing -> ()).

An initial subset of these warnings be addressed by either

  1. Refactoring the code or
  2. Disabling that clippy warning

@rustbot modify labels to +C-cleanup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions