Skip to content

Commit

Permalink
Auto merge of #9425 - JohnTitor:tweak-cargo-fix-test, r=alexcrichton
Browse files Browse the repository at this point in the history
Only deny the `unused_mut` lint

This is needed for rust-lang/rust#83004 to pass CI.
  • Loading branch information
bors committed Apr 28, 2021
2 parents 4369396 + e5ab391 commit e9e0907
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/fix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ fn fix_deny_warnings_but_not_others() {
.file(
"src/lib.rs",
"
#![deny(warnings)]
#![deny(unused_mut)]
pub fn foo() -> u32 {
let mut x = 3;
Expand Down

0 comments on commit e9e0907

Please sign in to comment.