diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-08-17 14:51:39 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2018-08-20 14:00:51 +1000 |
| commit | e7e9f2e6997ae12573cf4726935f232bf13fb40b (patch) | |
| tree | 1b4c91e3b9204a205ee2872240af79dc95b1175f /src/librustc | |
| parent | ab8dfbc7bb969378c2d7e8f7b0c29e26100707e0 (diff) | |
| download | rust-e7e9f2e6997ae12573cf4726935f232bf13fb40b.tar.gz rust-e7e9f2e6997ae12573cf4726935f232bf13fb40b.zip | |
Remove IdxSet typedef and Rename {,Hybrid}IdxSetBuf as {,Hybrid}IdxSet.
Now that the `Buf` vs. non-`Buf` distinction has been removed, it makes sense to drop the `Buf` suffix and use the shorter names everywhere.
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/ty/query/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/ty/query/mod.rs b/src/librustc/ty/query/mod.rs index ef22ebef9d7..5f7c5190159 100644 --- a/src/librustc/ty/query/mod.rs +++ b/src/librustc/ty/query/mod.rs @@ -49,7 +49,7 @@ use util::nodemap::{DefIdSet, DefIdMap, ItemLocalSet}; use util::common::{ErrorReported}; use util::profiling::ProfileCategory::*; -use rustc_data_structures::indexed_set::IdxSetBuf; +use rustc_data_structures::indexed_set::IdxSet; use rustc_target::spec::PanicStrategy; use rustc_data_structures::indexed_vec::IndexVec; use rustc_data_structures::fx::{FxHashMap, FxHashSet}; @@ -208,7 +208,7 @@ define_queries! { <'tcx> /// Maps DefId's that have an associated Mir to the result /// of the MIR qualify_consts pass. The actual meaning of /// the value isn't known except to the pass itself. - [] fn mir_const_qualif: MirConstQualif(DefId) -> (u8, Lrc<IdxSetBuf<mir::Local>>), + [] fn mir_const_qualif: MirConstQualif(DefId) -> (u8, Lrc<IdxSet<mir::Local>>), /// Fetch the MIR for a given def-id right after it's built - this includes /// unreachable code. |
