Skip to content

Commit 2b13cab

Browse files
committed
Use nightly Clippy
rust-lang/rust-clippy#10264 was fixed by rust-lang/rust-clippy#10391. Use nightly Clippy to get the fix.
1 parent a46b03b commit 2b13cab

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

core/src/backup.rs

-4
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
// https://github.com/smoelius/rustfmt_if_chain/blob/557c32c54b0e0f48da2d029a3a8f70db4c8dbf9b/src/backup.rs
33

44
#![allow(dead_code)]
5-
// smoelius: Allow `unwrap_used` until the following issue is resolved:
6-
// https://github.com/rust-lang/rust-clippy/issues/10264
7-
#![allow(clippy::unwrap_used)]
8-
#![cfg_attr(dylint_lib = "overscoped_allow", allow(overscoped_allow))]
95

106
use std::{
117
io::Result,

core/tests/ci_is/enabled.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ fn update() {
175175
fn clippy_command(cargo_args: &[&str], rustc_args: &[&str]) -> Command {
176176
let mut command = Command::new("cargo");
177177
command
178-
.args(["clippy", "--all-features", "--all-targets"])
178+
.args(["+nightly", "clippy", "--all-features", "--all-targets"])
179179
.args(cargo_args)
180180
.args(["--"])
181181
.args(rustc_args)

0 commit comments

Comments
 (0)