about summary refs log tree commit diff
path: root/compiler/rustc_index/src/vec.rs
AgeCommit message (Expand)AuthorLines
2025-02-28Allow the optimizer to elide bounds checks when enumerating `IndexSlice`/`Ind...Jason Newcomb-0/+4
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-2/+2
2024-08-13Add and use `IndexVec::append`Josh Stone-0/+5
2024-07-29Reformat `use` declarations.Nicholas Nethercote-6/+4
2024-07-15Fix feature gating on rustc_index to not use implicit featuresMichael Goulet-3/+3
2024-07-04Use `IndexVec` for coroutine local mappingLiu Dingming-0/+5
2024-03-06doc: Add better explanationorion GONZALEZ (contractor)-1/+18
2024-01-26Update compiler/rustc_index/src/vec.rsArdi-0/+1
2024-01-10Fix some mistakes + new docardi-6/+5
2024-01-10Oh wellardi-15/+3
2024-01-10Document the struct and a few methodsardi-0/+19
2023-11-13Remove `IndexSlice::convert_index_type`.Nicholas Nethercote-4/+0
2023-04-24Decorative changes to `IndexVec`Maybe Waffle-13/+12
2023-04-24`const`-ify some `{IndexVec, IndexSlice}` methodsMaybe Waffle-2/+2
2023-04-24move index code aroundMaybe Waffle-65/+65
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-291/+3
2023-04-18Don't allocate it `IndexVec::remove`Maybe Waffle-1/+1
2023-04-17Make `IndexVec::ensure_contains_elem` return a reference to the elementMaybe Waffle-7/+8
2023-04-09Fix some clippy::complexityNilstrieb-7/+4
2023-04-06Auto merge of #109915 - scottmcm:layout-indexvec, r=oli-obkbors-0/+43
2023-04-04Use `FieldIdx` in `FieldsShape`Scott McMurray-0/+43
2023-04-03Doc-comment `IndexVec::from_elem` and use it in a few more placesScott McMurray-0/+11
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-2/+40
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-0/+6
2023-03-30Add `IndexSlice` to go with `IndexVec`Scott McMurray-70/+160
2023-03-29Rename `IndexVec::last` → `last_index`Scott McMurray-1/+1
2023-01-19Fix IndexVec::drain_enumeratedMichael Goulet-1/+6
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-24make rustc_target usable outside of rustchkalbasi-0/+5
2022-11-01Implement Idx for OwnerId.Camille GILLOT-0/+2
2022-08-12debuginfo: Change C++-like encoding for enums.Michael Woerister-1/+3
2022-07-21Edit `rustc_index::vec::IndexVec::pick3_mut` docspierwill-2/+6
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-2/+2
2022-05-13Cache more queries on disk.Camille GILLOT-6/+0
2022-02-24Convert `newtype_index` to a proc macroAaron Hill-455/+0
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-4/+4
2021-12-22Remove `PartialOrd` and `Ord` from `LocalDefId`pierwill-1/+1
2021-11-13Generate documentation in rustc `rustc_index::newtype_index` macropierwill-1/+23
2021-10-23update cfg(bootstrap)Pietro Albini-6/+0
2021-10-15Revert "Auto merge of #89709 - clemenswasser:apply_clippy_suggestions_2, r=pe...Matthias Krüger-4/+7
2021-10-11Rollup merge of #89643 - cjgillot:overlap, r=matthewjasperMatthias Krüger-0/+6
2021-10-10Apply clippy suggestionsClemens Wasser-7/+4
2021-10-07Fix inherent impl overlap check.Camille GILLOT-0/+6
2021-10-04Rollup merge of #89508 - jhpratt:stabilize-const_panic, r=joshtriplettJubilee-2/+6
2021-10-04Stabilize `const_panic`Jacob Pratt-2/+6
2021-10-03Replace Fn impls with RPIT impls in rustc_indexbjorn3-44/+17
2021-09-22rustc_index: Add some map-like APIs to `IndexVec`Vadim Petrochenkov-0/+15
2021-05-31Use allow_internal_unstable more in rustc_indexbjorn3-1/+1
2021-05-26Unify feature flags as `step_trait`Jacob Pratt-1/+1
2021-05-26Specialize implementationsJacob Pratt-0/+3