mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Only deny the unused_mut
lint
This commit is contained in:
parent
4369396ce7
commit
e5ab39145f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user