Skip to content

Commit

Permalink
pacify the parallel compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Jan 4, 2020
1 parent 937c76b commit cdf32e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_hir/hir.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ impl Crate<'_> {
where
V: itemlikevisit::ParItemLikeVisitor<'hir> + Sync + Send,
{
rustc_data_structures::parallel!(
parallel!(
{
par_for_each_in(&self.items, |(_, item)| {
visitor.visit_item(item);
Expand Down
4 changes: 4 additions & 0 deletions src/librustc_hir/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
#![feature(const_fn)]
#![feature(in_band_lifetimes)]
#![feature(specialization)]
#![recursion_limit = "256"]

#[macro_use]
extern crate rustc_data_structures;

pub mod def;
pub mod def_id;
Expand Down

0 comments on commit cdf32e1

Please sign in to comment.