Skip to content

Commit d20183d

Browse files
committed
remove bit_set re-export from rustc_data_structures
1 parent 1799063 commit d20183d

File tree

48 files changed

+55
-42
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+55
-42
lines changed

Cargo.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3082,6 +3082,7 @@ dependencies = [
30823082
"rustc_data_structures",
30833083
"rustc_errors",
30843084
"rustc_fs_util",
3085+
"rustc_index",
30853086
"rustc_macros",
30863087
"rustc_target",
30873088
"scoped-tls",
@@ -3341,6 +3342,7 @@ dependencies = [
33413342
name = "rustc_codegen_llvm"
33423343
version = "0.0.0"
33433344
dependencies = [
3345+
"rustc_index",
33443346
"rustc_llvm",
33453347
]
33463348

@@ -3362,6 +3364,7 @@ dependencies = [
33623364
"rustc_errors",
33633365
"rustc_fs_util",
33643366
"rustc_incremental",
3367+
"rustc_index",
33653368
"rustc_target",
33663369
"serialize",
33673370
"syntax",
@@ -3561,6 +3564,7 @@ dependencies = [
35613564
"rustc",
35623565
"rustc_data_structures",
35633566
"rustc_errors",
3567+
"rustc_index",
35643568
"rustc_target",
35653569
"serialize",
35663570
"smallvec",
@@ -3583,6 +3587,7 @@ dependencies = [
35833587
"rustc_apfloat",
35843588
"rustc_data_structures",
35853589
"rustc_errors",
3590+
"rustc_index",
35863591
"rustc_lexer",
35873592
"rustc_target",
35883593
"serialize",
@@ -4246,6 +4251,7 @@ dependencies = [
42464251
"log",
42474252
"rustc_data_structures",
42484253
"rustc_errors",
4254+
"rustc_index",
42494255
"rustc_lexer",
42504256
"rustc_target",
42514257
"scoped-tls",

src/librustc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ rustc_apfloat = { path = "../librustc_apfloat" }
2525
rustc_target = { path = "../librustc_target" }
2626
rustc_macros = { path = "../librustc_macros" }
2727
rustc_data_structures = { path = "../librustc_data_structures" }
28+
rustc_index = { path = "../librustc_index" }
2829
errors = { path = "../librustc_errors", package = "rustc_errors" }
2930
rustc_serialize = { path = "../libserialize", package = "serialize" }
3031
syntax = { path = "../libsyntax" }

src/librustc/arena.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ macro_rules! arena_types {
4545
[decode] specialization_graph: rustc::traits::specialization_graph::Graph,
4646
[] region_scope_tree: rustc::middle::region::ScopeTree,
4747
[] item_local_set: rustc::util::nodemap::ItemLocalSet,
48-
[decode] mir_const_qualif: rustc_data_structures::bit_set::BitSet<rustc::mir::Local>,
48+
[decode] mir_const_qualif: rustc_index::bit_set::BitSet<rustc::mir::Local>,
4949
[] trait_impls_of: rustc::ty::trait_def::TraitImpls,
5050
[] dropck_outlives:
5151
rustc::infer::canonical::Canonical<'tcx,

src/librustc/mir/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use crate::ty::{
2020
};
2121

2222
use polonius_engine::Atom;
23-
use rustc_data_structures::bit_set::BitMatrix;
23+
use rustc_index::bit_set::BitMatrix;
2424
use rustc_data_structures::fx::FxHashSet;
2525
use rustc_data_structures::graph::dominators::{dominators, Dominators};
2626
use rustc_data_structures::graph::{self, GraphPredecessors, GraphSuccessors};

src/librustc/mir/traversal.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use rustc_data_structures::bit_set::BitSet;
1+
use rustc_index::bit_set::BitSet;
22

33
use super::*;
44

src/librustc/traits/select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ use crate::ty::subst::{Subst, SubstsRef};
4040
use crate::ty::{self, ToPolyTraitRef, ToPredicate, Ty, TyCtxt, TypeFoldable};
4141

4242
use crate::hir;
43-
use rustc_data_structures::bit_set::GrowableBitSet;
43+
use rustc_index::bit_set::GrowableBitSet;
4444
use rustc_data_structures::sync::Lock;
4545
use rustc_target::spec::abi::Abi;
4646
use syntax::attr;

src/librustc/ty/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::ich::StableHashingContext;
1717
use crate::mir::{GeneratorLayout, GeneratorSavedLocal};
1818
use crate::ty::GeneratorSubsts;
1919
use crate::ty::subst::Subst;
20-
use rustc_data_structures::bit_set::BitSet;
20+
use rustc_index::bit_set::BitSet;
2121
use rustc_data_structures::indexed_vec::{IndexVec, Idx};
2222
use rustc_data_structures::stable_hasher::{HashStable, StableHasher};
2323

src/librustc/ty/query/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ use crate::ty::steal::Steal;
3838
use crate::ty::util::NeedsDrop;
3939
use crate::ty::subst::SubstsRef;
4040
use crate::util::nodemap::{DefIdSet, DefIdMap, ItemLocalSet};
41-
use crate::util::common::{ErrorReported};
41+
use crate::util::common::ErrorReported;
4242
use crate::util::profiling::ProfileCategory::*;
4343

4444
use rustc_data_structures::svh::Svh;
45-
use rustc_data_structures::bit_set::BitSet;
45+
use rustc_index::bit_set::BitSet;
4646
use rustc_data_structures::indexed_vec::IndexVec;
4747
use rustc_data_structures::fx::{FxIndexMap, FxHashMap, FxHashSet};
4848
use rustc_data_structures::stable_hasher::StableVec;

src/librustc_codegen_llvm/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ test = false
1212

1313
[dependencies]
1414
rustc_llvm = { path = "../librustc_llvm" }
15+
rustc_index = { path = "../librustc_index" }
1516

1617
[features]
1718
# This is used to convince Cargo to separately cache builds of `rustc_codegen_llvm`

src/librustc_codegen_llvm/debuginfo/create_scope_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use libc::c_uint;
1111

1212
use syntax_pos::Pos;
1313

14-
use rustc_data_structures::bit_set::BitSet;
14+
use rustc_index::bit_set::BitSet;
1515
use rustc_data_structures::indexed_vec::{Idx, IndexVec};
1616

1717
use syntax_pos::BytePos;

0 commit comments

Comments
 (0)