| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-05-19 | Encode VariantIdx so we can decode variants in the right order | Michael Goulet | -1/+2 | |
| (cherry picked from commit ff54c801f0c1552941bda472df992e9f9be25f33) | ||||
| 2023-04-27 | Encode lifetime param spans too | Michael Goulet | -1/+1 | |
| (cherry picked from commit 24c2c075cc2216af8868809fdd68c9da8466c327) | ||||
| 2023-04-26 | Encode def span for ConstParam | Michael Goulet | -2/+2 | |
| (cherry picked from commit 1ee189cde53a4cecd3e8811d6ffe983676a70c7b) | ||||
| 2023-04-12 | resolve: Pre-compute non-reexport module children | Vadim Petrochenkov | -47/+15 | |
| Instead of repeating the same logic by walking HIR during metadata encoding. The only difference is that we are no longer encoding `macro_rules` items, but we never currently need them as a part of this list. They can be encoded separately if this need ever arises. `module_reexports` is also un-querified, because I don't see any reasons to make it a query, only overhead. | ||||
| 2023-04-11 | Split implied and super predicate queries | Michael Goulet | -1/+5 | |
| 2023-04-10 | rustc_metadata: Filter encoded data more aggressively using `DefKind` | Vadim Petrochenkov | -10/+127 | |
| 2023-04-10 | rustc_metadata: Cleanup `fn encode_info_for_item` | Vadim Petrochenkov | -62/+33 | |
| 2023-04-08 | rustc_middle: Remove `Option` from `module_reexports` query | Vadim Petrochenkov | -2/+2 | |
| 2023-04-06 | Rollup merge of #109984 - scottmcm:less-float, r=Nilstrieb | Matthias Krüger | -2/+0 | |
| Remove f32 & f64 from MemDecoder/MemEncoder r? ```@Nilstrieb``` since they said (maybe joked) on discord that it's a bug if the compiler uses f32 anywhere 🙃 | ||||
| 2023-04-06 | Remove f32 & f64 from MemDecoder/MemEncoder | Scott McMurray | -2/+0 | |
| 2023-04-04 | Remove a lock in favor of an AppendOnlyVec | Oli Scherer | -2/+1 | |
| 2023-03-23 | Don't split up TreatProjections and TreatParams anymore | Michael Goulet | -2/+1 | |
| 2023-03-22 | Rollup merge of #109358 - petrochenkov:nosess, r=cjgillot | Matthias Krüger | -12/+10 | |
| rustc: Remove unused `Session` argument from some attribute functions (One auxiliary test file containing one of these functions was unused, so I removed it instead of updating.) | ||||
| 2023-03-22 | rustc: Remove unused `Session` argument from some attribute functions | Vadim Petrochenkov | -12/+10 | |
| 2023-03-21 | RPITITs are DefKind::Opaque with new lowering strategy | Michael Goulet | -1/+12 | |
| 2023-03-21 | Always encode RPITITs | Santiago Pastorino | -1/+7 | |
| 2023-03-21 | LocalCrate key | Michael Goulet | -2/+3 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -8/+4 | |
| 2023-03-20 | Rollup merge of #109362 - nnethercote:split-meta-stats-items, r=bjorn3 | Matthias Krüger | -4/+3 | |
| Split `items` from `-Zmeta-stats` in two. Because it's one of the biggest sections. r? `@bjorn3` | ||||
| 2023-03-20 | Update some names and comments | Michael Goulet | -2/+2 | |
| 2023-03-20 | Split `items` from `-Zmeta-stats` in two. | Nicholas Nethercote | -4/+3 | |
| Because it's one of the biggest sections. | ||||
| 2023-03-18 | Implement FixedSizeEncoding for UnusedGenericParams. | Camille GILLOT | -3/+1 | |
| 2023-03-15 | Rename impl_trait_in_trait_parent to impl_trait_in_trait_parent_fn | Santiago Pastorino | -1/+1 | |
| 2023-03-15 | Auto merge of #109089 - compiler-errors:opt_rpitit_info-follow-up, r=spastorino | bors | -0/+8 | |
| Encode `opt_rpitit_info` for associated types Follow-up, only last commit matters r? `@spastorino` This needs a perf run after the parent pr lands | ||||
| 2023-03-14 | Encode opt_rpitit_info for associated types | Michael Goulet | -0/+8 | |
| 2023-03-14 | Get impl defaultness using query | Santiago Pastorino | -2/+3 | |
| 2023-03-13 | Better names? | Michael Goulet | -2/+2 | |
| 2023-03-13 | Treat projections with infer as placeholder during fast reject in new solver | Michael Goulet | -1/+2 | |
| 2023-03-12 | Auto merge of #108820 - cjgillot:ensure-on-disk, r=oli-obk | bors | -3/+3 | |
| Ensure value is on the on-disk cache before returning from `ensure()`. The current logic for `ensure()` a query just checks that the node is green in the dependency graph. However, a lot of places use `ensure()` to prevent the query from being called later. This is the case before stealing a query result. If the query is actually green but the value is not available in the on-disk cache, `ensure` would return, but a subsequent call to the full query would run the code, and attempt to read from a stolen value. This PR conforms the query system to the usage by checking whether the queried value is loadable from disk before returning. Sadly, I can't manage to craft a proper test... Should fix all instances of "attempted to read from stolen value". | ||||
| 2023-03-11 | Use ensure_with_value in a few more places. | Camille GILLOT | -3/+3 | |
| 2023-03-06 | Add tcx::lower_impl_trait_in_trait_to_assoc_ty to avoid accessing through ↵ | Santiago Pastorino | -1/+1 | |
| sess.opts.unstable_opts | ||||
| 2023-03-03 | Match unmatched backticks in comments in compiler/ | est31 | -1/+1 | |
| 2023-03-01 | Properly implement should_encode_fn_impl_trait_in_trait using new unstable ↵ | Santiago Pastorino | -3/+12 | |
| option | ||||
| 2023-02-28 | Descriptive error when users try to combine RPITIT/AFIT with specialization | Michael Goulet | -29/+1 | |
| 2023-02-19 | Add associated_items_for_impl_trait_in_trait query | Santiago Pastorino | -0/+9 | |
| 2023-02-17 | Make encode_attrs use opt_local_def_id_to_hir_id so we can feed it with None ↵ | Santiago Pastorino | -2/+2 | |
| for definitions that have no HIR | ||||
| 2023-02-16 | fix ugly skip_binder | Kyle Matsuda | -1/+2 | |
| 2023-02-14 | Add `of_trait` to DefKind::Impl. | Camille GILLOT | -8/+8 | |
| 2023-02-13 | rustdoc: Eliminate remaining uses of resolver | Vadim Petrochenkov | -0/+16 | |
| 2023-02-10 | Resolve documentation links in rustc and store the results in metadata | Vadim Petrochenkov | -10/+27 | |
| This commit implements MCP https://github.com/rust-lang/compiler-team/issues/584 It also removes code that is no longer used, and that includes code cloning resolver, so issue #83761 is fixed. | ||||
| 2023-02-05 | rustc_metadata: Encode/decode `DefPathHash`es without an `Option` | Vadim Petrochenkov | -2/+2 | |
| 2023-02-05 | rustc_metadata: Encode/decode some `LazyArray`s without an `Option` | Vadim Petrochenkov | -12/+15 | |
| Also add asserts to decoding `LazyArray`s with `Option` | ||||
| 2023-02-05 | rustc_metadata: Support encoding/decoding `LazyArray` without an `Option` | Vadim Petrochenkov | -3/+3 | |
| 2023-02-05 | rustc_metadata: Refactor lazy table reading/writing | Vadim Petrochenkov | -55/+45 | |
| Change wording from "nullable" to "default". Introduce a trait `IsDefault` for detecting values that are encoded as zeros or not encoded at all. Add panics to impossible cases. Some other minor cleanups. | ||||
| 2023-01-29 | Test drop_tracking_mir before querying generator. | Camille GILLOT | -1/+1 | |
| 2023-01-29 | Auto merge of #107406 - cjgillot:eliminate-witnesses, r=compiler-errors | bors | -1/+1 | |
| Only compute mir_generator_witnesses query in drop_tracking_mir mode. Attempt to fix the perf regression in https://github.com/rust-lang/rust/pull/101692 r? `@ghost` | ||||
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -2/+2 | |
| 2023-01-28 | Only compute mir_generator_witnesses query in drop_tracking_mir mode. | Camille GILLOT | -1/+1 | |
| 2023-01-27 | Separate witness type computation from the generator transform. | Camille GILLOT | -0/+4 | |
| 2023-01-27 | Auto merge of #107055 - kylematsuda:eb-fn-sig, r=lcnr | bors | -2/+2 | |
| Switch to `EarlyBinder` for `fn_sig` query Part of the work to finish #105779 (also see https://github.com/rust-lang/types-team/issues/78). Several queries `X` have a `bound_X` variant that wraps the output in [`EarlyBinder`](https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/subst/struct.EarlyBinder.html). This adds `EarlyBinder` to the return type of the `fn_sig` query and removes `bound_fn_sig`. r? `@lcnr` | ||||
