Skip to content

cargo fmt fails with error "Invalid value for --edition" #87363

@PsiACE

Description

@PsiACE

I tried this code:

cargo fmt

I expected to see this happen: Nothing, but format code

Instead, this happened: Invalid value for --edition

I tried this with the following repository: https://github.com/datafuselabs/datafuse

see the CI result: https://github.com/datafuselabs/datafuse/pull/1159/checks?check_run_id=3132249396#step:6:9

Meta

rustc --version --verbose:

rustc 1.55.0-nightly (b41936b92 2021-07-20)
binary: rustc
commit-hash: b41936b92cd8463020207cb2f62a4247942ef2e4
commit-date: 2021-07-20
host: x86_64-unknown-linux-gnu
release: 1.55.0-nightly
LLVM version: 12.0.1
Backtrace

<backtrace>

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions