Skip to content

Unable to use --message-format=json #3947

@JP-Ellis

Description

@JP-Ellis

I recently found the undocumented --message-format option from #3752; however, trying to use it results in the following error message:

$ cargo fmt --message-format=json
Invalid value for `--emit` - using an unstable value without `--unstable-features`

so as the error message suggests, I tried enabling unstable features, but this can only be done on the nightly branch.

Is there a tracking issue or eta as to when this will land in the stable channel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions