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 @@ -80,7 +80,7 @@ fn track_files(parse_sess: &mut ParseSess) {
8080 // Used by `clippy::cargo` lints and to determine the MSRV. `cargo clippy` executes `clippy-driver`
8181 // with the current directory set to `CARGO_MANIFEST_DIR` so a relative path is fine
8282 if Path :: new ( "Cargo.toml" ) . exists ( ) {
83- file_depinfo. insert ( Symbol :: intern ( "Cargo.toml" ) ) ;
83+ file_depinfo. insert ( std :: path :: PathBuf :: from ( "Cargo.toml" ) ) ;
8484 }
8585
8686 // `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) {
9595 if let Ok ( current_exe) = env:: current_exe ( )
9696 && let Some ( current_exe) = current_exe. to_str ( )
9797 {
98- file_depinfo. insert ( Symbol :: intern ( current_exe) ) ;
98+ file_depinfo. insert ( std :: path :: PathBuf :: from ( current_exe) ) ;
9999 }
100100 }
101101}
You can’t perform that action at this time.
0 commit comments