Skip to content

Warning refers to cargo fix instead of cargo clippy --fix #10804

@2ico

Description

@2ico

Description

warning: `zero2prod` (bin "zero2prod") generated 1 warning (run `cargo fix --bin "zero2prod"` to apply 1 suggestion)

This is misleading, as cargo fix points to the binary fixing warnings reported by rustc.

Version

rustc 1.67.0-nightly (c97b539e4 2022-11-30)
binary: rustc
commit-hash: c97b539e408ea353f4fde2f9251d598291fec421
commit-date: 2022-11-30
host: x86_64-unknown-linux-gnu
release: 1.67.0-nightly
LLVM version: 15.0.4

Additional Labels

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions