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<'_> {
610
610
Lrc :: ptr_eq ( file1, file2)
611
611
}
612
612
fn path ( & mut self , file : & Self :: SourceFile ) -> String {
613
- match file. name {
613
+ match file. name . name ( ) {
614
614
FileName :: Real ( ref name) => name
615
615
. local_path ( )
616
616
. to_str ( )
Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
56
56
let SourceFile {
57
57
name : _, // We hash the smaller name_hash instead of this
58
58
name_hash,
59
- name_was_remapped,
60
- unmapped_path : _,
61
59
cnum,
62
60
// Do not hash the source as it is not encoded
63
61
src : _,
@@ -72,7 +70,6 @@ impl<'a> HashStable<StableHashingContext<'a>> for SourceFile {
72
70
} = * self ;
73
71
74
72
( name_hash as u64 ) . hash_stable ( hcx, hasher) ;
75
- name_was_remapped. hash_stable ( hcx, hasher) ;
76
73
77
74
src_hash. hash_stable ( hcx, hasher) ;
78
75
You can’t perform that action at this time.
0 commit comments