File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/librustc_data_structures Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -199,11 +199,11 @@ cfg_if! {
199199 ( $( $blocks: tt) , * ) => {
200200 // We catch panics here ensuring that all the blocks execute.
201201 // This makes behavior consistent with the parallel compiler.
202- let panic = :: rustc_data_structures :: sync:: Lock :: new( None ) ;
202+ let panic = $ crate :: sync:: Lock :: new( None ) ;
203203 $(
204- :: rustc_data_structures :: sync:: catch( & panic, || $blocks) ;
204+ $ crate :: sync:: catch( & panic, || $blocks) ;
205205 ) *
206- :: rustc_data_structures :: sync:: resume( panic) ;
206+ $ crate :: sync:: resume( panic) ;
207207 }
208208 }
209209
@@ -383,7 +383,7 @@ cfg_if! {
383383 parallel!( impl $fblock [ $block, $( $c, ) * ] [ $( $rest) , * ] )
384384 } ;
385385 ( impl $fblock: tt [ $( $blocks: tt, ) * ] [ ] ) => {
386- :: rustc_data_structures :: sync:: scope( |s| {
386+ $ crate :: sync:: scope( |s| {
387387 $(
388388 s. spawn( |_| $blocks) ;
389389 ) *
@@ -445,7 +445,7 @@ cfg_if! {
445445 macro_rules! rustc_erase_owner {
446446 ( $v: expr) => { {
447447 let v = $v;
448- :: rustc_data_structures :: sync:: assert_send_val( & v) ;
448+ $ crate :: sync:: assert_send_val( & v) ;
449449 v. erase_send_sync_owner( )
450450 } }
451451 }
You can’t perform that action at this time.
0 commit comments