summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-03-16 12:57:31 -0400
committerJoshua Nelson <jyn514@gmail.com>2021-03-27 22:16:34 -0400
commitde0fda9558e5b9eed94cd1e2c1599ea72115d744 (patch)
tree942ff681716427b047195805b3e7c578a5d012be /compiler/rustc_data_structures/src
parent441dc3640a408e612064464b0c6308bdca6c16ce (diff)
downloadrust-de0fda9558e5b9eed94cd1e2c1599ea72115d744.tar.gz
rust-de0fda9558e5b9eed94cd1e2c1599ea72115d744.zip
Address review comments
- Add back `HirIdVec`, with a comment that it will soon be used.
- Add back `*_region` functions, with a comment they may soon be used.
- Remove `-Z borrowck_stats` completely. It didn't do anything.
- Remove `make_nop` completely.
- Add back `current_loc`, which is used by an out-of-tree tool.
- Fix style nits
- Remove `AtomicCell` with `cfg(parallel_compiler)` for consistency.
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/sync.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/sync.rs b/compiler/rustc_data_structures/src/sync.rs
index c17c28df872..357686342be 100644
--- a/compiler/rustc_data_structures/src/sync.rs
+++ b/compiler/rustc_data_structures/src/sync.rs
@@ -236,8 +236,6 @@ cfg_if! {
 
         pub use std::sync::atomic::{AtomicBool, AtomicUsize, AtomicU32, AtomicU64};
 
-        pub use crossbeam_utils::atomic::AtomicCell;
-
         pub use std::sync::Arc as Lrc;
         pub use std::sync::Weak as Weak;