We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ebc2a68 + db42c7d commit ac7c87eCopy full SHA for ac7c87e
src/driver.rs
@@ -96,16 +96,11 @@ fn track_files(psess: &mut ParseSess) {
96
97
// During development track the `clippy-driver` executable so that cargo will re-run clippy whenever
98
// it is rebuilt
99
- #[expect(
100
- clippy::collapsible_if,
101
- reason = "Due to a bug in let_chains this if statement can't be collapsed"
102
- )]
103
- if cfg!(debug_assertions) {
104
- if let Ok(current_exe) = env::current_exe()
105
- && let Some(current_exe) = current_exe.to_str()
106
- {
107
- file_depinfo.insert(Symbol::intern(current_exe));
108
- }
+ if cfg!(debug_assertions)
+ && let Ok(current_exe) = env::current_exe()
+ && let Some(current_exe) = current_exe.to_str()
+ {
+ file_depinfo.insert(Symbol::intern(current_exe));
109
}
110
111
0 commit comments