Skip to content

Commit 917c198

Browse files
committed
Have thread-local GlobalArenas
1 parent e2ab582 commit 917c198

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/librustc/ty/context.rs

-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ use std::ops::Deref;
6969
use std::iter;
7070
use std::sync::mpsc;
7171
use std::sync::Arc;
72-
use std::sync::Mutex;
7372
use rustc_target::spec::abi;
7473
use syntax::ast::{self, NodeId};
7574
use syntax::attr;
@@ -1714,8 +1713,6 @@ pub mod tls {
17141713
use rayon_core;
17151714
use dep_graph::OpenTask;
17161715
use rustc_data_structures::sync::{self, Lrc, Lock};
1717-
use std::sync::Arc;
1718-
use std::sync::Mutex;
17191716

17201717
/// This is the implicit state of rustc. It contains the current
17211718
/// TyCtxt and query. It is updated when creating a local interner or

0 commit comments

Comments
 (0)