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 {
2323pub struct IpcFileLoader ( FileLoaderClient ) ;
2424
2525impl 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 > > {
2727 Some ( Box :: new ( self ) )
2828 }
2929}
3030
31- impl syntax :: source_map:: FileLoader for IpcFileLoader {
31+ impl rustc_span :: source_map:: FileLoader for IpcFileLoader {
3232 fn file_exists ( & self , path : & Path ) -> bool {
3333 self . 0 . file_exists ( path. to_owned ( ) ) . wait ( ) . unwrap ( )
3434 }
Original file line number Diff line number Diff line change @@ -135,8 +135,8 @@ impl Callbacks for ShimCalls {
135135 src_path,
136136 disambiguator : sess. local_crate_disambiguator ( ) . to_fingerprint ( ) . as_value ( ) ,
137137 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 ,
140140 } ,
141141 } ;
142142
You can’t perform that action at this time.
0 commit comments