| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-05-17 | Move rustc_middle/src/ty/query.rs to rustc_middle/src/query/plumbing.rs | John Kåre Alsaker | -640/+0 | |
| 2023-05-15 | Move expansion of query macros in rustc_middle to rustc_middle::query | John Kåre Alsaker | -76/+8 | |
| 2023-04-30 | Use dynamic dispatch for queries | John Kåre Alsaker | -24/+36 | |
| 2023-04-26 | Add query accessor functions | John Kåre Alsaker | -32/+55 | |
| 2023-04-26 | Remove QueryEngine trait | John Kåre Alsaker | -20/+87 | |
| 2023-04-24 | Split `{Idx, IndexVec, IndexSlice}` into their own modules | Maybe Waffle | -1/+1 | |
| 2023-04-21 | Allow `LocalDefId` as the argument to `def_path_str` | Oli Scherer | -1/+1 | |
| 2023-04-20 | Feed type_of query instead of using WithOptconstParam. | Camille GILLOT | -6/+20 | |
| 2023-04-08 | Remove `remap_env_constness` in queries | Deadbeef | -14/+0 | |
| 2023-04-06 | Don't rely on `Debug` impl for `Erased` | John Kåre Alsaker | -0/+1 | |
| 2023-04-06 | Erase query cache values | John Kåre Alsaker | -12/+22 | |
| 2023-03-21 | query_keys_local is conditional on separate_provide_if_extern | Michael Goulet | -15/+14 | |
| 2023-03-21 | AsLocalKey trait | Michael Goulet | -6/+3 | |
| 2023-03-21 | Use local key in providers | Michael Goulet | -5/+26 | |
| 2023-03-11 | Make the check for cache opt-in. | Camille GILLOT | -1/+39 | |
| 2023-03-11 | Rollup merge of #108690 - Zoxc:query-size-limits, r=cjgillot | Matthias Krüger | -0/+30 | |
| Place size limits on query keys and values This just prevents these from growing accidentally too large. I'm not sure if there's an easy way to also print the actual size too. | ||||
| 2023-03-08 | Auto merge of #108312 - michaelwoerister:hash-set-not-hash-stable, r=eholk | bors | -2/+4 | |
| Do not implement HashStable for HashSet (MCP 533) This PR removes all occurrences of `HashSet` in query results, replacing it either with `FxIndexSet` or with `UnordSet`, and then removes the `HashStable` implementation of `HashSet`. This is part of implementing [MCP 533](https://github.com/rust-lang/compiler-team/issues/533), that is, removing the `HashStable` implementations of all collection types with unstable iteration order. The changes are mostly mechanical. The only place where additional sorting is happening is in Miri's override implementation of the `exported_symbols` query. | ||||
| 2023-03-04 | Place size limits on query keys and values | John Kåre Alsaker | -0/+30 | |
| 2023-03-01 | Use UnordSet instead of FxHashSet for names_imported_by_glob_use query. | Michael Woerister | -1/+1 | |
| 2023-03-01 | Use LocalDefIdSet/Map instead of FxHashSet/Map for ↵ | Michael Woerister | -1/+3 | |
| live_symbols_and_ignored_derived_traits query. | ||||
| 2023-03-01 | Use LocalDefIdSet instead of FxHashSet for reachable_set query. | Michael Woerister | -1/+1 | |
| 2023-02-27 | Unify all validity check intrinsics | Nilstrieb | -1/+1 | |
| Also merges the inhabitedness check into the query to further unify the code paths. | ||||
| 2023-02-27 | Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errors | Matthias Krüger | -0/+1 | |
| Unify validity checks into a single query Previously, there were two queries to check whether a type allows the 0x01 or zeroed bitpattern. I am planning on adding a further initness to check in #100423, truly uninit for MaybeUninit, which would make this three queries. This seems overkill for such a small feature, so this PR unifies them into one. I am not entirely happy with the naming and key type and open for improvements. r? oli-obk | ||||
| 2023-02-24 | Wrap missing provider message correctly | Michael Goulet | -2/+3 | |
| 2023-02-23 | Unify validity checks into a single query | Nilstrieb | -0/+1 | |
| Previously, there were two queries to check whether a type allows the 0x01 or zeroed bitpattern. I am planning on adding a further initness to check, truly uninit for MaybeUninit, which would make this three queries. This seems overkill for such a small feature, so this PR unifies them into one. | ||||
| 2023-02-17 | Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwU | bors | -8/+0 | |
| Switch to `EarlyBinder` for `type_of` query Part of the work to finish #105779 and implement https://github.com/rust-lang/types-team/issues/78. Several queries `X` have a `bound_X` variant that wraps the output in `EarlyBinder`. This adds `EarlyBinder` to the return type of the `type_of` query and removes `bound_type_of`. r? `@lcnr` | ||||
| 2023-02-17 | Auto merge of #108145 - matthiaskrgr:rollup-bgadak1, r=matthiaskrgr | bors | -1/+1 | |
| Rollup of 8 pull requests Successful merges: - #104068 (rustdoc: Add PartialOrd trait to doc comment explanation) - #107489 (Implement partial support for non-lifetime binders) - #107905 (Pass arguments to `x` subcommands with `--`) - #108009 (Move some tests) - #108086 (wasm: Register the `relaxed-simd` target feature) - #108104 (don't into self) - #108133 (Small cleanups around `EarlyBinder`) - #108136 (Do not ICE on unmet trait alias impl bounds) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2023-02-16 | remove bound_type_of query; make type_of return EarlyBinder; change type_of ↵ | Kyle Matsuda | -8/+0 | |
| in metadata | ||||
| 2023-02-16 | Add some comments and use inline(always) on query_provided_to_value | John Kåre Alsaker | -1/+10 | |
| 2023-02-16 | Move provider fields back to rustc_query_impl | John Kåre Alsaker | -13/+1 | |
| 2023-02-16 | Use dropless arena when possible | John Kåre Alsaker | -1/+8 | |
| 2023-02-16 | Factor query arena allocation out from query caches | John Kåre Alsaker | -20/+76 | |
| 2023-02-16 | Rename some region-specific stuff | Michael Goulet | -1/+1 | |
| 2023-02-14 | Make permit_uninit/zero_init fallible | Michael Goulet | -1/+0 | |
| 2023-02-10 | Resolve documentation links in rustc and store the results in metadata | Vadim Petrochenkov | -1/+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-08 | Change `arena_cache` to not alter the declared query result | John Kåre Alsaker | -16/+23 | |
| 2023-02-04 | Remove `OnHit` callback from query caches. | Camille GILLOT | -40/+20 | |
| This is not useful now that query results are `Copy`. | ||||
| 2023-01-28 | Remove `HirId -> LocalDefId` map from HIR. | Camille GILLOT | -0/+8 | |
| 2023-01-25 | Use `can_eq` to compare types for default assoc type error | Nilstrieb | -0/+8 | |
| This works correctly with inference variables. | ||||
| 2023-01-09 | Use newtype for unused generic parameters | Nilstrieb | -2/+2 | |
| 2022-12-05 | feed resolver_for_lowering instead of storing it in a field | Oli Scherer | -1/+13 | |
| 2022-12-05 | Allow arbitrary keys in feeding API | Oli Scherer | -5/+5 | |
| 2022-12-01 | Don't allow feeding a query cache entry twice | Oli Scherer | -4/+2 | |
| 2022-11-29 | Make TyCtxtFeed::def_id private. | Camille GILLOT | -1/+1 | |
| 2022-11-29 | Feedable queries must allow hashing. | Camille GILLOT | -13/+1 | |
| 2022-11-29 | Only allow feeding a value to newly created definitions. | Camille GILLOT | -17/+3 | |
| 2022-11-29 | Allow to set a query's result as a side effect. | Camille GILLOT | -0/+68 | |
| 2022-11-24 | Unsupported query error now specifies if its unsupported for local or ↵ | Sarthak Singh | -2/+5 | |
| external crate | ||||
| 2022-11-01 | Use Key impl to select cache. | Camille GILLOT | -11/+10 | |
| 2022-11-01 | Use VecCache for LocalDefId. | Camille GILLOT | -0/+8 | |
