mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +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(
|
.file(
|
||||||
"src/lib.rs",
|
"src/lib.rs",
|
||||||
"
|
"
|
||||||
#![deny(warnings)]
|
#![deny(unused_mut)]
|
||||||
|
|
||||||
pub fn foo() -> u32 {
|
pub fn foo() -> u32 {
|
||||||
let mut x = 3;
|
let mut x = 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user