File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1372,7 +1372,7 @@ impl<'a, 'tcx> CrateMetadata {
1372
1372
pub ( super ) fn get_crate_dep_node_index ( & self , tcx : TyCtxt < ' tcx > ) -> DepNodeIndex {
1373
1373
let mut dep_node_index = self . dep_node_index . load ( ) ;
1374
1374
1375
- if dep_node_index == DepNodeIndex :: INVALID {
1375
+ if unlikely ! ( dep_node_index == DepNodeIndex :: INVALID ) {
1376
1376
// We have not cached the DepNodeIndex for this upstream crate yet,
1377
1377
// so use the dep-graph to find it out and cache it.
1378
1378
// Note that multiple threads can enter this block concurrently.
Original file line number Diff line number Diff line change 1
1
#![ doc( html_root_url = "https://doc.rust-lang.org/nightly/" ) ]
2
2
3
3
#![ feature( box_patterns) ]
4
+ #![ feature( core_intrinsics) ]
4
5
#![ feature( crate_visibility_modifier) ]
5
6
#![ feature( drain_filter) ]
6
7
#![ feature( in_band_lifetimes) ]
11
12
#![ feature( rustc_private) ]
12
13
#![ feature( slice_patterns) ]
13
14
#![ feature( specialization) ]
15
+ #![ feature( stmt_expr_attributes) ]
14
16
15
17
#![ recursion_limit="256" ]
16
18
You can’t perform that action at this time.
0 commit comments