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 @@ -80,7 +80,7 @@ fn track_files(parse_sess: &mut ParseSess) {
80
80
// Used by `clippy::cargo` lints and to determine the MSRV. `cargo clippy` executes `clippy-driver`
81
81
// with the current directory set to `CARGO_MANIFEST_DIR` so a relative path is fine
82
82
if Path :: new ( "Cargo.toml" ) . exists ( ) {
83
- file_depinfo. insert ( Symbol :: intern ( "Cargo.toml" ) ) ;
83
+ file_depinfo. insert ( std :: path :: PathBuf :: from ( "Cargo.toml" ) ) ;
84
84
}
85
85
86
86
// `clippy.toml` will be automatically tracked as it's loaded with `sess.source_map().load_file()`
@@ -95,7 +95,7 @@ fn track_files(parse_sess: &mut ParseSess) {
95
95
if let Ok ( current_exe) = env:: current_exe ( )
96
96
&& let Some ( current_exe) = current_exe. to_str ( )
97
97
{
98
- file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
98
+ file_depinfo. insert ( std :: path :: PathBuf :: from ( current_exe) ) ;
99
99
}
100
100
}
101
101
}
You can’t perform that action at this time.
0 commit comments