Skip to content

rustc doesn't allow -W/--warn more than once #11458

@lucy

Description

@lucy
~ > rustc --warn unnecessary-qualification --warn non-camel-case-types hi.rs
error: Option 'warn' given more than once.
task 'rustc' failed at 'explicit failure', /build/rust-git/src/rust/src/librustc/driver/driver.rs:1120
task '<main>' failed at 'explicit failure', /build/rust-git/src/rust/src/librustc/lib.rs:453

-W is supposed to work like -A, -D and -F which can appear multiple times.

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