about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/parameterized.rs
AgeCommit message (Collapse)AuthorLines
2025-07-31Move `rustc_middle::parameterized` to `rustc_metadata`.Nicholas Nethercote-142/+0
It's only used there.
2025-07-31Remove unused `ParameterizedOverTcx` impls.Nicholas Nethercote-13/+0
2025-07-15Define datastructures for `#[cfg]` attribute, move StrippedCfgItemJonathan Brouwer-1/+1
2025-07-12Clean up implementation of RPITIT assoc item loweringMichael Goulet-1/+4
2025-07-13query RPITIT in a trait or implbohan-0/+1
2025-05-21Introduce `tcx.anon_const_kind` queryBoxy-0/+1
2025-04-12don't store opaque info during encodingbohan-1/+1
2025-04-03hygiene: Avoid recursion in syntax context decodingVadim Petrochenkov-1/+1
2025-04-01Store adt_async_destructor in metadataOli Scherer-0/+1
2025-04-01Store adt_destructor in metadataOli Scherer-0/+1
2025-03-30Revert "Auto merge of #129827 - bvanjoi:less-decoding, r=petrochenkov"Jakub Beránek-1/+1
Reverting because of a performance regression. This reverts commit d4812c8638173ec163825d56a72a33589483ec4c, reversing changes made to 5cc60728e7ee10eb2ae5f61f7d412d9805b22f0c.
2025-03-29less decoding if it has the same syntax contextbohan-1/+1
2025-03-13Rollup merge of #138109 - Kohei316:feat/rust-doc-precise-capturing-arg, ↵Matthias Krüger-0/+2
r=aDotInTheVoid,compiler-errors make precise capturing args in rustdoc Json typed close #137616 This PR includes below changes. - Add `rustc_hir::PreciseCapturingArgKind` which allows the query system to return a arg's data. - Add `rustdoc::clean::types::PreciseCapturingArg` and change to use it. - Add `rustdoc-json-types::PreciseCapturingArg` and change to use it. - Update `tests/rustdoc-json/impl-trait-precise-capturing.rs`. - Bump `rustdoc_json_types::FORMAT_VERSION`.
2025-03-10make precise capturing args in rustdoc Json typedmorine0122-0/+2
2025-03-07depend more on attr_data_structures and move find_attr! thereJana Dönszelmann-4/+4
2025-02-02Target modifiers (special marked options) are recorded in metainfo and ↵Andrew Zhogin-0/+1
compared to be equal in different crates
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-1/+1
This should make it clearer that this bitset is dense, with the advantages and disadvantages that it entails.
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-1/+1
`rustc_span::symbol` defines some things that are re-exported from `rustc_span`, such as `Symbol` and `sym`. But it doesn't re-export some closely related things such as `Ident` and `kw`. So you can do `use rustc_span::{Symbol, sym}` but you have to do `use rustc_span::symbol::{Ident, kw}`, which is inconsistent for no good reason. This commit re-exports `Ident`, `kw`, and `MacroRulesNormalizedIdent`, and changes many `rustc_span::symbol::` qualifiers in `compiler/` to `rustc_span::`. This is a 200+ net line of code reduction, mostly because many files with two `use rustc_span` items can be reduced to one.
2024-12-16rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structuresJonathan Dönszelmann-4/+4
2024-12-15Add hir::AttributeJonathan Dönszelmann-1/+2
2024-11-21Implement the unsafe-fields RFC.Luca Versari-0/+1
Co-Authored-By: Jacob Pratt <jacob@jhpratt.dev>
2024-10-31Encode cross-crate opaque type originMichael Goulet-0/+1
2024-10-24Implement const effect predicate in new solverMichael Goulet-0/+1
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-1/+0
This reverts commit acb4e8b6251f1d8da36f08e7a70fa23fc581839e, reversing changes made to 100fde5246bf56f22fb5cc85374dd841296fce0e.
2024-08-28Implement RFC 3525.Luca Versari-0/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-1/+2
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
2024-05-26Give EarlyBinder a tcx parameterMichael Goulet-2/+2
We are gonna need it to uplift EarlyBinder
2024-03-04Return a struct from `query intrinsic` to be able to add another field in ↵Oli Scherer-0/+1
the next commit
2024-02-15Return ConstAllocation from eval_static_initializer query directlyOli Scherer-1/+1
2024-02-15Store static initializers in metadata instead of the MIR of statics.Oli Scherer-0/+1
2024-02-12Use a struct instead of a tupleOli Scherer-0/+1
2024-01-04Make iteration order of collect_return_position_impl_trait_in_trait_tys ↵Michael Woerister-3/+4
query stable
2023-11-20Unify defined_lib_features and lib_features queriesMichael Goulet-0/+1
2023-10-20s/Generator/Coroutine/Oli Scherer-2/+2
2023-09-23Enable drop_tracking_mir by default.Camille GILLOT-1/+0
2023-09-21Record asyncness span in HIRMichael Goulet-0/+1
2023-07-14Use u64 for incr comp allocation offsetsBen Kimock-0/+1
2023-06-22Migrate item_bounds to ty::ClauseMichael Goulet-0/+1
2023-06-19s/Clause/ClauseKindMichael Goulet-1/+1
2023-06-01Remember names of `cfg`-ed out items to mention them in diagnosticsNilstrieb-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-16Move DebuggerVisualizerFile types from rustc_span to rustc_middleMichael Woerister-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-03-14Encode opt_rpitit_info for associated typesMichael Goulet-0/+1
2023-02-16Rename some region-specific stuffMichael Goulet-1/+1
2023-02-10Resolve documentation links in rustc and store the results in metadataVadim Petrochenkov-0/+2
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-01-27Separate witness type computation from the generator transform.Camille GILLOT-0/+1
2023-01-19Encode whether foreign opaques are TAITs or notMichael Goulet-0/+1
2023-01-14add EarlyBinder::subst_identity; impl ParameterizedOverTcx (needed for ↵Kyle Matsuda-0/+4
rustc_metadata) and Value for EarlyBinder
2023-01-09Use newtype for unused generic parametersNilstrieb-0/+1
2022-12-15Rollup merge of #105758 - Nilstrieb:typeck-results-mod, r=compiler-errorsMatthias Krüger-22/+16
Move `TypeckResults` to separate module `ty::context` is really big and the typeck results aren't directly related to `TyCtxt`, so move them to a separate module. Also contains a small drive-by macro "improvement".