File tree 1 file changed +5
-5
lines changed
src/librustc_data_structures
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -199,11 +199,11 @@ cfg_if! {
199
199
( $( $blocks: tt) , * ) => {
200
200
// We catch panics here ensuring that all the blocks execute.
201
201
// 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 ) ;
203
203
$(
204
- :: rustc_data_structures :: sync:: catch( & panic, || $blocks) ;
204
+ $ crate :: sync:: catch( & panic, || $blocks) ;
205
205
) *
206
- :: rustc_data_structures :: sync:: resume( panic) ;
206
+ $ crate :: sync:: resume( panic) ;
207
207
}
208
208
}
209
209
@@ -383,7 +383,7 @@ cfg_if! {
383
383
parallel!( impl $fblock [ $block, $( $c, ) * ] [ $( $rest) , * ] )
384
384
} ;
385
385
( impl $fblock: tt [ $( $blocks: tt, ) * ] [ ] ) => {
386
- :: rustc_data_structures :: sync:: scope( |s| {
386
+ $ crate :: sync:: scope( |s| {
387
387
$(
388
388
s. spawn( |_| $blocks) ;
389
389
) *
@@ -445,7 +445,7 @@ cfg_if! {
445
445
macro_rules! rustc_erase_owner {
446
446
( $v: expr) => { {
447
447
let v = $v;
448
- :: rustc_data_structures :: sync:: assert_send_val( & v) ;
448
+ $ crate :: sync:: assert_send_val( & v) ;
449
449
v. erase_send_sync_owner( )
450
450
} }
451
451
}
You can’t perform that action at this time.
0 commit comments