]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #9714 - PTNobel:fix-force-warn, r=ehuss
authorbors <bors@rust-lang.org>
Thu, 22 Jul 2021 13:01:52 +0000 (13:01 +0000)
committerbors <bors@rust-lang.org>
Thu, 22 Jul 2021 13:01:52 +0000 (13:01 +0000)
Changes rustc argument from `--force-warns` to `--force-warn`

The rustc argument was renamed in rust-lang/rust#87346 breaking `cargo fix` on the nightly toolchain.

I encountered this while attempting to test Edition 2021 migrations.

I ran `RUSTC=/path/to/nightly/rustc cargo test` and encountered a few failing tests, but none of them seemed at all related to the 1 line I changed, so if they crop up in CI as well, would love some help on identifying what's causing that.

Closes rust-lang/rust#87360


Trivial merge