Skip to content

Commit 7853357

Browse files
committed
cargo dev fmt
1 parent 18262d0 commit 7853357

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

clippy_lints/src/utils/conf.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ pub fn read(path: &Path) -> (Conf, Vec<Error>) {
238238

239239
let block_ls_field = &toml_ref.blacklisted_names;
240240
if !block_ls_field.is_empty() {
241-
let block_err = "found deprecated field `blacklisted-names`. Please use `disallowed-names` instead.".to_string();
241+
let block_err =
242+
"found deprecated field `blacklisted-names`. Please use `disallowed-names` instead.".to_string();
242243
errors.push(Error::Toml(block_err));
243244
}
244245

tests/ui/crashes/ice-2760.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
// run-pass
22

3-
#![allow(
4-
unused_variables,
5-
clippy::disallowed_name,
6-
clippy::needless_pass_by_value,
7-
dead_code
8-
)]
3+
#![allow(unused_variables, clippy::disallowed_name, clippy::needless_pass_by_value, dead_code)]
94

105
/// This should not compile-fail with:
116
///

tests/ui/let_if_seq.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
#![allow(
2-
unused_variables,
3-
unused_assignments,
4-
clippy::similar_names,
5-
clippy::disallowed_name
6-
)]
1+
#![allow(unused_variables, unused_assignments, clippy::similar_names, clippy::disallowed_name)]
72
#![warn(clippy::useless_let_if_seq)]
83

94
fn f() -> bool {

0 commit comments

Comments
 (0)