| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-08-31 | Rollup merge of #88492 - est31:maybe_uninit_write, r=wesleywiser | Mara Bos | -1/+1 | |
| Use MaybeUninit::write in functor.rs MaybeUninit::write is stable as of 1.55.0. | ||||
| 2021-08-30 | Use MaybeUninit::write in functor.rs | est31 | -1/+1 | |
| MaybeUninit::write is stable as of 1.55.0. | ||||
| 2021-08-24 | Also fix “a `OwningRef`” | Frank Steffahn | -1/+1 | |
| 2021-08-24 | Also fix “a RwLock*” | Frank Steffahn | -3/+3 | |
| 2021-08-24 | Fix typo “a Rc” → “an Rc” | Frank Steffahn | -1/+1 | |
| 2021-08-22 | Fix more “a”/“an” typos | Frank Steffahn | -1/+1 | |
| 2021-08-22 | Fix typos “a”→“an” | Frank Steffahn | -27/+27 | |
| 2021-08-15 | Fix the flock fallback implementation | bjorn3 | -0/+4 | |
| 2021-08-09 | Remove duplicate trait bounds in `rustc_data_structures::graph` | pierwill | -7/+2 | |
| 2021-07-27 | Use type_alias_impl_trait instead of min in compiler and lib | Santiago Pastorino | -1/+2 | |
| 2021-07-23 | Auto merge of #86429 - JohnTitor:get-by-key-enum-part-2, r=oli-obk | bors | -49/+23 | |
| Improve `get_by_key_enumerated` more Follow-up of #86392, this applies the suggestions by `@m-ou-se.` r? `@m-ou-se` | ||||
| 2021-07-23 | Add VecMap::get_value_matching and assert if > 1 element | Santiago Pastorino | -4/+23 | |
| Otherwise is a bug that we want to uncover. | ||||
| 2021-07-23 | Sort features alphabetically | Yuki Okushi | -13/+13 | |
| 2021-07-23 | Use `map_while` instead of `take_while` + `map` | Yuki Okushi | -4/+6 | |
| 2021-07-23 | Improve `get_by_key_enumerated` more | Yuki Okushi | -38/+10 | |
| 2021-07-23 | Auto merge of #87287 - oli-obk:fixup_fixup_fixup_opaque_types, r=spastorino | bors | -5/+10 | |
| Make mir borrowck's use of opaque types independent of the typeck query's result fixes #87218 fixes #86465 we used to use the typeck results only to generate an obligation for the mir borrowck type to be equal to the typeck result. When i removed the `fixup_opaque_types` function in #87200, I exposed a bug that showed that mir borrowck can't doesn't get enough information from typeck in order to build the correct lifetime mapping from opaque type usage to the actual concrete type. We therefor now fully compute the information within mir borrowck (we already did that, but we only used it to verify the typeck result) and stop using the typeck information. We will likely be able to remove most opaque type information from the borrowck results in the future and just have all current callers use the mir borrowck result instead. r? `@spastorino` | ||||
| 2021-07-22 | Make mir borrowck's use of opaque types independent of the typeck query's result | Oli Scherer | -0/+4 | |
| 2021-07-22 | Fix VecMap::iter_mut | Oli Scherer | -5/+6 | |
| It used to allow you to mutate the key, even though that can invalidate the map by creating duplicate keys. | ||||
| 2021-07-22 | Auto merge of #86619 - rylev:incr-hashing-profiling, r=wesleywiser | bors | -11/+49 | |
| Profile incremental compilation hashing fingerprints Adds profiling instrumentation for the hashing of incremental compilation fingerprints per query. This will eventually feed into the `measureme` and `rustc-perf` infrastructure for tracking if computing hashes changes over time. TODOs: * [x] Address the FIXME where we are including node interning in the hash timing. * [ ] Update measureme/summarize to handle this new data: https://github.com/rust-lang/measureme/pull/166 * [ ] ~Update rustc-perf to handle the new data from measureme~ (will be done at a later time) r? `@ghost` cc `@michaelwoerister` | ||||
| 2021-07-17 | Some perf optimizations and logging | jackh726 | -0/+2 | |
| 2021-07-13 | Fix VecMap Extend impl | Oli Scherer | -4/+6 | |
| 2021-07-07 | Add docs to new methods | Ryan Levick | -2/+6 | |
| 2021-07-07 | Profile incremental hashing | Ryan Levick | -11/+45 | |
| 2021-06-22 | Rollup merge of #86387 - JohnTitor:now-no-unused-lifetimes, r=Mark-Simulacrum | Yuki Okushi | -2/+0 | |
| Remove `#[allow(unused_lifetimes)]` which is now unnecessary Seems FP has been fixed, it doesn't need `#[allow(unused_lifetimes)]` anymore. | ||||
| 2021-06-17 | Prefer `partition_point` to look up assoc items | Yuki Okushi | -47/+5 | |
| 2021-06-17 | Remove `#[allow(unused_lifetimes)]` which is now unnecessary | Yuki Okushi | -2/+0 | |
| 2021-06-11 | Auto merge of #85885 - bjorn3:remove_box_region, r=cjgillot | bors | -171/+0 | |
| Don't use a generator for BoxedResolver The generator is non-trivial and requires unsafe code anyway. Using regular unsafe code without a generator is much easier to follow. Based on #85810 as it touches rustc_interface too. | ||||
| 2021-06-08 | add VecMap docs | Santiago Pastorino | -0/+14 | |
| 2021-06-08 | Use impl FnMut directly as predicate type | Santiago Pastorino | -4/+1 | |
| 2021-06-08 | Explicitly pass find arguments down the predicate so coercions can apply | Santiago Pastorino | -2/+2 | |
| 2021-06-08 | Inline the rest of box_region | bjorn3 | -82/+0 | |
| 2021-06-08 | Inline box_region macro calls | bjorn3 | -80/+0 | |
| 2021-06-08 | Simplify box_region macros | bjorn3 | -26/+17 | |
| 2021-06-08 | Add VecMap::get_by(FnMut -> bool) | Santiago Pastorino | -0/+7 | |
| 2021-06-07 | Add VecMap to rustc_data_structures | Santiago Pastorino | -0/+186 | |
| 2021-06-06 | Rollup merge of #85436 - tamird:save-clone, r=estebank | Yuki Okushi | -3/+2 | |
| Avoid cloning cache key r? `@estebank` | ||||
| 2021-06-04 | Unify parallel and non-parallel APIs | Joshua Nelson | -2/+54 | |
| It's confusing for these to be different, even if some of the methods are unused. | ||||
| 2021-06-04 | Remove unused code from `rustc_data_structures::sync` | Joshua Nelson | -110/+0 | |
| Found using https://github.com/est31/warnalyzer. | ||||
| 2021-06-04 | Rollup merge of #85850 - bjorn3:less_feature_gates, r=jyn514 | Yuki Okushi | -21/+1 | |
| Remove unused feature gates The first commit removes a usage of a feature gate, but I don't expect it to be controversial as the feature gate was only used to workaround a limitation of rust in the past. (closures never being `Clone`) The second commit uses `#[allow_internal_unstable]` to avoid leaking the `trusted_step` feature gate usage from inside the index newtype macro. It didn't work for the `min_specialization` feature gate though. The third commit removes (almost) all feature gates from the compiler that weren't used anyway. | ||||
| 2021-06-02 | Auto merge of #85892 - tmiasko:i, r=oli-obk | bors | -0/+10 | |
| Miscellaneous inlining improvements | ||||
| 2021-06-02 | Miscellaneous inlining improvements | Tomasz Miąsko | -0/+10 | |
| 2021-06-01 | Remove StableVec. | Camille GILLOT | -32/+0 | |
| 2021-06-01 | Revert "Reduce the amount of untracked state in TyCtxt" | Camille Gillot | -0/+32 | |
| 2021-05-31 | Remove unused feature gates | bjorn3 | -1/+0 | |
| 2021-05-31 | Remove unnecessary unboxed_closures feature usage | bjorn3 | -20/+1 | |
| It has been possible to clone closures for a while now | ||||
| 2021-05-30 | Remove StableVec. | Camille GILLOT | -32/+0 | |
| 2021-05-25 | Don't panic when failing to initialize incremental directory. | Eric Huss | -0/+13 | |
| 2021-05-18 | Simplify `map | unwrap_or` to `map_or` | Tamir Duberstein | -2/+1 | |
| 2021-05-18 | Avoid cloning cache key | Tamir Duberstein | -2/+2 | |
| 2021-05-04 | Only compute Obligation `cache_key` once in `register_obligation_at` | Esteban Küber | -3/+4 | |
