Skip to content

Confusing cmd syntax errors with -C codegen-units #17587

Closed
@kmcallister

Description

@kmcallister
$ rustc -C codegen-units=foo
error: codegen option `codegen-units` takes no value
$ rustc -C codegen-units
error: codegen option `codegen-units` requires a value (-C codegen-units=<value>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-driverArea: rustc_driver that ties everything together into the `rustc` compilerE-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions