about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Krones <hello@philkrones.com>2023-04-11 15:31:08 +0200
committerPhilipp Krones <hello@philkrones.com>2023-04-11 15:31:08 +0200
commit6b95029f176e5cdaa88de8ca7f5f59fd15a6d850 (patch)
treea46baab4cf11050924648f768e9d5e2fd5f3f0bd /src
parentfe129a022a0ae1c458b065725a819faabcbdb2b6 (diff)
downloadrust-6b95029f176e5cdaa88de8ca7f5f59fd15a6d850.tar.gz
rust-6b95029f176e5cdaa88de8ca7f5f59fd15a6d850.zip
Merge commit '83e42a2337dadac915c956d125f1d69132f36425' into clippyup
Diffstat (limited to 'src')
-rw-r--r--src/driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 9e0822404b6..718bc41fb99 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -130,7 +130,7 @@ impl rustc_driver::Callbacks for ClippyCallbacks {
     #[allow(rustc::bad_opt_access)]
     fn config(&mut self, config: &mut interface::Config) {
         let conf_path = clippy_lints::lookup_conf_file();
-        let conf_path_string = if let Ok(Some(path)) = &conf_path {
+        let conf_path_string = if let Ok((Some(path), _)) = &conf_path {
             path.to_str().map(String::from)
         } else {
             None