Skip to content

Commit 8c988c0

Browse files
committed
Update to latest indexical
1 parent 2e9ec01 commit 8c988c0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

crates/rustc_utils/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ intervaltree = "0.2"
2424
serde = { version = "1", features = ["derive"], optional = true }
2525
textwrap = { version = "0.16", optional = true }
2626
ts-rs = { version = "7", optional = true }
27-
indexical = { version = "0.9.3", default-features = false, features = ["rustc"], optional = true }
27+
indexical = { version = "0.10.4", default-features = false, features = ["rustc"], optional = true }
2828

2929
[dev-dependencies]
3030
rustc_utils = { path = ".", features = ["test"] }

crates/rustc_utils/src/mir/location_or_arg.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ impl From<Local> for LocationOrArg {
4242

4343
#[cfg(feature = "indexical")]
4444
pub mod index {
45-
use indexical::{IndexedDomain, ToIndex, bitset::rustc::IndexSet, define_index_type};
45+
use indexical::{IndexedDomain, ToIndex, bitset::rustc::ArcIndexSet, define_index_type};
4646

4747
use super::*;
4848

4949
define_index_type! {
5050
pub struct LocationOrArgIndex for LocationOrArg = u32;
5151
}
5252

53-
pub type LocationOrArgSet = IndexSet<LocationOrArg>;
53+
pub type LocationOrArgSet = ArcIndexSet<LocationOrArg>;
5454
pub type LocationOrArgDomain = IndexedDomain<LocationOrArg>;
5555

5656
pub struct CustomMarker;

0 commit comments

Comments
 (0)