Skip to content

Clippy wants #79

@repi

Description

@repi

Wish list of Clippy lints and features & bug fixes we would like to see added/improved/fixed based on the Rust projects we've been developing at Embark.

This is not a complete list, but an attempt to keep a bit of structure for our own sake, and may be of interest for Clippy lint developers as well.

Should have

Lints & Clippy features or fixes that would directly improve or help our workflows

Nice to have

Lints & Clippy features or fixes that would be nice to have, but are lower priority to us than the above list.

Not filed / found

Fixes or enhancements that believe there is no issue for yet, if you find one please do comment and we'll update it here.

  • cargo clippy --fix often doesn't work and it is unclear to the user which lints it works for and which it skips
  • A lint to require types in crate to be used fully qualified, like log::info!("hej") instead of use log::info; info!("hej") by specifying log crate in clippy.toml section for the lint.
  • A lint to disallow returning Option<()> as we've seen that use in code just to (too) easily early out with ? on empty options.

Related tracking issues for other Rust components:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions