File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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) {
7878 // Used by `clippy::cargo` lints and to determine the MSRV. `cargo clippy` executes `clippy-driver`
7979 // with the current directory set to `CARGO_MANIFEST_DIR` so a relative path is fine
8080 if Path :: new ( "Cargo.toml" ) . exists ( ) {
81- file_depinfo. insert ( Symbol :: intern ( "Cargo.toml" ) ) ;
81+ file_depinfo. insert ( std :: path :: PathBuf :: from ( "Cargo.toml" ) ) ;
8282 }
8383
8484 // `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) {
9393 if let Ok ( current_exe) = env:: current_exe ( )
9494 && let Some ( current_exe) = current_exe. to_str ( )
9595 {
96- file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
96+ file_depinfo. insert ( std :: path :: PathBuf :: from ( current_exe) ) ;
9797 }
9898 }
9999}
You can’t perform that action at this time.
0 commit comments