File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ impl server::SourceFile for Rustc<'_> {
610610 Lrc :: ptr_eq ( file1, file2)
611611 }
612612 fn path ( & mut self , file : & Self :: SourceFile ) -> String {
613- match file. name {
613+ match file. name . name ( ) {
614614 FileName :: Real ( ref name) => name
615615 . local_path ( )
616616 . to_str ( )
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
5656 let SourceFile {
5757 name : _, // We hash the smaller name_hash instead of this
5858 name_hash,
59- name_was_remapped,
60- unmapped_path : _,
6159 cnum,
6260 // Do not hash the source as it is not encoded
6361 src : _,
@@ -72,7 +70,6 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
7270 } = * self ;
7371
7472 ( name_hash as u64 ) . hash_stable ( hcx, hasher) ;
75- name_was_remapped. hash_stable ( hcx, hasher) ;
7673
7774 src_hash. hash_stable ( hcx, hasher) ;
7875
You can’t perform that action at this time.
0 commit comments