Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Commit 085f24b

Browse files
authored
Merge pull request #1676 from flip1995/clippyup
Update Clippy
2 parents 23985c6 + dde7258 commit 085f24b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ rls-ipc = { version = "0.1.0", path = "rls-ipc", optional = true }
3232
anyhow = "1.0.26"
3333
cargo = { git = "https://github.com/rust-lang/cargo", rev = "258c89644c4587273a3ed3ee9522d2640facba43" }
3434
cargo_metadata = "0.8"
35-
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", rev = "28197b622611ba3a6367648974ccf59127c287bb", optional = true }
35+
clippy_lints = { git = "https://github.com/rust-lang/rust-clippy", rev = "7ea7cd165ad6705603852771bf82cc2fd6560db5", optional = true }
3636
env_logger = "0.7"
3737
futures = { version = "0.1", optional = true }
3838
home = "0.5.1"

rls-rustc/src/clippy.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ pub fn config(config: &mut rustc_interface::interface::Config) {
5959

6060
let conf = clippy_lints::read_conf(&[], &sess);
6161
clippy_lints::register_plugins(&mut lint_store, &sess, &conf);
62-
clippy_lints::register_pre_expansion_lints(&mut lint_store, &conf);
62+
clippy_lints::register_pre_expansion_lints(&mut lint_store);
6363
clippy_lints::register_renamed(&mut lint_store);
6464
}));
6565
}

rls/src/build/rustc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ fn clippy_config(config: &mut interface::Config) {
326326

327327
let conf = clippy_lints::read_conf(&[], &sess);
328328
clippy_lints::register_plugins(&mut lint_store, &sess, &conf);
329-
clippy_lints::register_pre_expansion_lints(&mut lint_store, &conf);
329+
clippy_lints::register_pre_expansion_lints(&mut lint_store);
330330
clippy_lints::register_renamed(&mut lint_store);
331331
}));
332332
}

0 commit comments

Comments
 (0)