Skip to content

Commit cdf32e1

Browse files
committedJan 4, 2020
pacify the parallel compiler
1 parent 937c76b commit cdf32e1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
 

‎src/librustc_hir/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ impl Crate<'_> {
667667
where
668668
V: itemlikevisit::ParItemLikeVisitor<'hir> + Sync + Send,
669669
{
670-
rustc_data_structures::parallel!(
670+
parallel!(
671671
{
672672
par_for_each_in(&self.items, |(_, item)| {
673673
visitor.visit_item(item);

‎src/librustc_hir/lib.rs

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
#![feature(const_fn)]
77
#![feature(in_band_lifetimes)]
88
#![feature(specialization)]
9+
#![recursion_limit = "256"]
10+
11+
#[macro_use]
12+
extern crate rustc_data_structures;
913

1014
pub mod def;
1115
pub mod def_id;

0 commit comments

Comments
 (0)
Please sign in to comment.