This repository was archived by the owner on Dec 29, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ impl From<RpcChannel> for Client {
23
23
pub struct IpcFileLoader ( FileLoaderClient ) ;
24
24
25
25
impl IpcFileLoader {
26
- pub fn into_boxed ( self ) -> Option < Box < dyn syntax :: source_map:: FileLoader + Send + Sync > > {
26
+ pub fn into_boxed ( self ) -> Option < Box < dyn rustc_span :: source_map:: FileLoader + Send + Sync > > {
27
27
Some ( Box :: new ( self ) )
28
28
}
29
29
}
30
30
31
- impl syntax :: source_map:: FileLoader for IpcFileLoader {
31
+ impl rustc_span :: source_map:: FileLoader for IpcFileLoader {
32
32
fn file_exists ( & self , path : & Path ) -> bool {
33
33
self . 0 . file_exists ( path. to_owned ( ) ) . wait ( ) . unwrap ( )
34
34
}
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ impl Callbacks for ShimCalls {
135
135
src_path,
136
136
disambiguator : sess. local_crate_disambiguator ( ) . to_fingerprint ( ) . as_value ( ) ,
137
137
edition : match sess. edition ( ) {
138
- syntax :: edition:: Edition :: Edition2015 => Edition :: Edition2015 ,
139
- syntax :: edition:: Edition :: Edition2018 => Edition :: Edition2018 ,
138
+ rustc_span :: edition:: Edition :: Edition2015 => Edition :: Edition2015 ,
139
+ rustc_span :: edition:: Edition :: Edition2018 => Edition :: Edition2018 ,
140
140
} ,
141
141
} ;
142
142
You can’t perform that action at this time.
0 commit comments