| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-12 | Make ConstKind and TyKind Copy | Michael Goulet | -4/+0 | |
| 2023-11-22 | Cache flags for ty::Const | Michael Goulet | -1/+1 | |
| 2023-11-20 | Remove unused arena kinds in `rustc_hir` and `rustc_middle`. | Nicholas Nethercote | -16/+1 | |
| 2023-11-02 | use global cache when computing proof trees | lcnr | -0/+1 | |
| 2023-10-02 | Implement Deref<LayoutS> for Layout | Lukas Wirth | -1/+1 | |
| 2023-08-13 | Remove metadata_loader query | bjorn3 | -1/+0 | |
| It is only used by CrateLoader. We can store the metadata loader in CStore instead which CrateLoader has access to. | ||||
| 2023-08-11 | rustc: Move `features` from `Session` to `GlobalCtxt` | Vadim Petrochenkov | -0/+1 | |
| Removes two pieces of mutable state. Follow up to #114622. | ||||
| 2023-06-26 | Migrate predicates_of and caller_bounds to Clause | Michael Goulet | -2/+2 | |
| 2023-06-19 | Make closure_saved_names_of_captured_variables a query. | Camille GILLOT | -0/+5 | |
| 2023-06-01 | Remember names of `cfg`-ed out items to mention them in diagnostics | Nilstrieb | -0/+1 | |
| `#[cfg]`s are frequently used to gate crate content behind cargo features. This can lead to very confusing errors when features are missing. For example, `serde` doesn't have the `derive` feature by default. Therefore, `serde::Serialize` fails to resolve with a generic error, even though the macro is present in the docs. This commit adds a list of all stripped item names to metadata. This is filled during macro expansion and then, through a fed query, persisted in metadata. The downstream resolver can then access the metadata to look at possible candidates for mentioning in the errors. This slightly increases metadata (800k->809k for the feature-heavy windows crate), but not enough to really matter. | ||||
| 2023-05-25 | Prepopulate opaques in canonical input | Michael Goulet | -0/+1 | |
| 2023-04-24 | Split `{Idx, IndexVec, IndexSlice}` into their own modules | Maybe Waffle | -2/+2 | |
| 2023-04-18 | add EarlyBinder to return type of ↵ | Kyle Matsuda | -1/+5 | |
| collect_return_position_impl_trait_in_trait_tys query; remove bound_X version | ||||
| 2023-04-08 | resolve: Preserve reexport chains in `ModChild`ren | Vadim Petrochenkov | -0/+1 | |
| This may be potentially useful for - avoiding uses of `hir::ItemKind::Use` - preserving documentation comments on all reexports - preserving and checking stability/deprecation info on reexports - all kinds of diagnostics | ||||
| 2023-03-23 | rustc_interface: Add a new query `pre_configure` | Vadim Petrochenkov | -1/+1 | |
| It partially expands crate attributes before the main expansion pass (without modifying the crate), and the produced preliminary crate attribute list is used for querying a few attributes that are required very early. Crate-level cfg attributes are then expanded normally during the main expansion pass, like attributes on any other nodes. | ||||
| 2023-03-11 | Rollup merge of #108806 - cjgillot:query-lints, r=davidtwco | Matthias Krüger | -0/+1 | |
| Querify register_tools and post-expansion early lints The 2 extra queries correspond to code that happen before and after macro expansion, and don't need the resolver to exist. | ||||
| 2023-03-06 | Querify registered_tools. | Camille GILLOT | -0/+1 | |
| 2023-03-01 | Use FxIndexSet instead of FxHashSet for asm_target_features query. | Michael Woerister | -1/+2 | |
| 2023-02-26 | Wrap more into into closure_typeinfo query. | Camille GILLOT | -0/+1 | |
| 2023-02-20 | Move the resolver into a query | Oli Scherer | -0/+2 | |
| 2023-02-15 | Rollup merge of #107163 - mikebenfield:parameters-pr, r=TaKO8Ki | Dylan DPC | -1/+1 | |
| Remove some superfluous type parameters from layout.rs. Specifically remove V, which can always be VariantIdx, and F, which can always be Layout. | ||||
| 2023-02-10 | Resolve documentation links in rustc and store the results in metadata | Vadim Petrochenkov | -0/+1 | |
| 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-03 | intern external constraints | Michael Goulet | -0/+1 | |
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -1/+1 | |
| 2023-01-21 | Remove some superfluous type parameters from layout.rs. | Michael Benfield | -1/+1 | |
| Specifically remove V, which can always be VariantIdx, and F, which can always be Layout. | ||||
| 2023-01-12 | Remove `output_filenames` field from TyCtxt and feed the query instead | Oli Scherer | -0/+1 | |
| 2023-01-12 | Remove `untracked_crate` field and instead pass it along with the resolver. | Oli Scherer | -1/+4 | |
| 2023-01-12 | Feed `resolutions` query instead of it being a thin wrapper around an ↵ | Oli Scherer | -0/+1 | |
| untracked field | ||||
| 2022-12-16 | Rename ConstS to ConstData | Oli Scherer | -1/+1 | |
| 2022-12-06 | Rollup merge of #104898 - oli-obk:group_all_the_things, r=wesleywiser | Matthias Krüger | -2/+4 | |
| Put all cached values into a central struct instead of just the stable hash cc `@nnethercote` this allows re-use of the type for Predicate without duplicating all the logic for the non-hash cached fields | ||||
| 2022-12-05 | feed resolver_for_lowering instead of storing it in a field | Oli Scherer | -0/+1 | |
| 2022-11-30 | Remove PredicateS type | Oli Scherer | -1/+1 | |
| 2022-11-30 | Remove TyS | Oli Scherer | -1/+3 | |
| 2022-11-30 | move WithCachedTypeInfo to rustc_type_ir | Oli Scherer | -2/+2 | |
| 2022-11-30 | s/WithStableHash/WithCachedTypeInfo/ | Oli Scherer | -2/+2 | |
| 2022-11-25 | Cache Predicates' hash within themselves | Oli Scherer | -1/+1 | |
| 2022-11-24 | make rustc_target usable outside of rustc | hkalbasi | -1/+1 | |
| 2022-10-29 | Auto merge of #102698 - michaelwoerister:unord-collections, r=lncr | bors | -1/+1 | |
| Introduce UnordMap, UnordSet, and UnordBag (MCP 533) This is the start of implementing [MCP 533](https://github.com/rust-lang/compiler-team/issues/533). I followed `@eddyb's` suggestion of naming the collection types `Unord(Map/Set/Bag)` which is a bit easier to type than `Unordered(Map/Set/Bag)` r? `@eddyb` | ||||
| 2022-10-27 | Introduce UnordMap, UnordSet, and UnordBag (see MCP 533) | Michael Woerister | -1/+1 | |
| MCP 533: https://github.com/rust-lang/compiler-team/issues/533 Also, as an example, substitute UnordMap for FxHashMap in used_trait_imports query result. | ||||
| 2022-10-26 | privacy: Rename "accessibility levels" to "effective visibilities" | Vadim Petrochenkov | -1/+1 | |
| And a couple of other naming tweaks Related to https://github.com/rust-lang/rust/issues/48054 | ||||
| 2022-10-07 | Rewrite representability | Cameron Steffen | -0/+1 | |
| 2022-09-14 | cache collect_trait_impl_trait_tys | Michael Goulet | -1/+1 | |
| 2022-09-09 | Deeply check that method signatures match, and allow for nested RPITITs | Michael Goulet | -0/+2 | |
| 2022-09-01 | Don't create two new closures for each query | Joshua Nelson | -1/+1 | |
| - Parameterize DepKindStruct over `'tcx` This allows passing in an invariant function pointer in `query_callback`, rather than having to try and make it work for any lifetime. - Add a new `execute_query` function to `QueryDescription` so we can call `tcx.$name` without needing to be in a macro context | ||||
| 2022-07-12 | arena > Rc for query results | lcnr | -0/+1 | |
| 2022-07-05 | Return a FxIndexSet in is_late_bound query. | Camille GILLOT | -0/+1 | |
| This return value is iterated upon by borrowck, hence the need to preserve a deterministic iteration order. | ||||
| 2022-05-25 | try to cache region_scope_tree as a query | Ding Xiang Fei | -0/+1 | |
| 2022-05-22 | factor out the rvalue lifetime rule | Ding Xiang Fei | -1/+0 | |
| remove region_scope_tree from RegionCtxt Apply suggestions from code review Co-authored-by: Niko Matsakis <niko@alum.mit.edu> | ||||
| 2022-05-13 | Cache more queries on disk. | Camille GILLOT | -4/+1 | |
| 2022-04-07 | Document and rename the new wrapper type | Oli Scherer | -1/+1 | |
