Skip to content

clippy --fix broken since nightly 2020-12-21 #6487

Closed
@matthiaskrgr

Description

@matthiaskrgr

Clippy was synced in the rustc repo a couple hours ago, it looks like this breaks cargo clippy --fix

RUSTC_WRAPPER="" ~/.cargo/bin/cargo +nightly clippy --fix -Zunstable-options
(RUSTC_WRAPPER is to disable sccache) works fine (this is rustc 1.50.0-nightly (1f5bc176b 2020-12-19))

RUSTC_WRAPPER="" ~/.cargo/bin/cargo +master clippy --fix -Zunstable-options does not seem to work

error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --no-deps --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
  --- stderr
  error: Unrecognized option: 'no-deps'

cc @ebroto
You did some changes how --no-deps is passed in cc96955 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thingI-ICEIssue: Clippy panicked, giving an Internal Compilation Error (ICE) ❄️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions