File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ fn track_files(parse_sess: &mut ParseSess) {
78
78
// Used by `clippy::cargo` lints and to determine the MSRV. `cargo clippy` executes `clippy-driver`
79
79
// with the current directory set to `CARGO_MANIFEST_DIR` so a relative path is fine
80
80
if Path :: new ( "Cargo.toml" ) . exists ( ) {
81
- file_depinfo. insert ( Symbol :: intern ( "Cargo.toml" ) ) ;
81
+ file_depinfo. insert ( std :: path :: PathBuf :: from ( "Cargo.toml" ) ) ;
82
82
}
83
83
84
84
// `clippy.toml` will be automatically tracked as it's loaded with `sess.source_map().load_file()`
@@ -93,7 +93,7 @@ fn track_files(parse_sess: &mut ParseSess) {
93
93
if let Ok ( current_exe) = env:: current_exe ( )
94
94
&& let Some ( current_exe) = current_exe. to_str ( )
95
95
{
96
- file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
96
+ file_depinfo. insert ( std :: path :: PathBuf :: from ( current_exe) ) ;
97
97
}
98
98
}
99
99
}
You can’t perform that action at this time.
0 commit comments