Skip to content

Invalid values for arguments are not handled properly #93

@Pyr0de

Description

@Pyr0de

Using an invalid bin name a for cargo-fixit gives the incorrect suggestion to used --broken-code

$ cargo fix --bin a
error: no bin target named `a` in default-run packages
help: available bin targets:
    typos
$ cargo fixit --bin a
note: try using `--broken-code` to fix errors
error: could not compile

Affecting the flags which are directly passed onto cargo check

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions