File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -96,16 +96,11 @@ fn track_files(psess: &mut ParseSess) {
96
96
97
97
// During development track the `clippy-driver` executable so that cargo will re-run clippy whenever
98
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
- }
99
+ if cfg ! ( debug_assertions)
100
+ && let Ok ( current_exe) = env:: current_exe ( )
101
+ && let Some ( current_exe) = current_exe. to_str ( )
102
+ {
103
+ file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
109
104
}
110
105
}
111
106
You can’t perform that action at this time.
0 commit comments