about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/def.rs
AgeCommit message (Expand)AuthorLines
2025-09-08Make `is_typeck_child` match exhaustiveDaria Sukhonina-1/+31
2025-09-08Skip typeck for items w/o their own typeck contextDaria Sukhonina-0/+7
2025-08-20Move `IntoDiagArg` earlier in the dependency chainsJosh Triplett-0/+14
2025-08-12Switch to a bitflags `MacroKinds` to support macros with more than one kindJosh Triplett-6/+53
2025-08-10Auto merge of #144873 - cjgillot:implications, r=lqdbors-0/+42
2025-08-04Add doc-comment.Camille GILLOT-0/+1
2025-08-03Implement `stability_implications` without a visitor.Camille GILLOT-0/+41
2025-08-02Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=AmanieuSamuel Tardieu-2/+2
2025-07-28Introduce assoc_parentCameron Steffen-0/+4
2025-07-25Improve and regularize comment placement in doc codeJosh Triplett-1/+1
2025-07-25Skip formatting for some compiler documentation codeJosh Triplett-1/+1
2025-07-16resolve: Merge `NameBindingKind::Module` into `NameBindingKind::Res`Vadim Petrochenkov-0/+15
2025-07-06compiler: rename {ast,hir}::BareFn* to FnPtr*Jubilee Young-1/+1
2025-06-04Replace `elided_named_lifetimes` with `mismatched_lifetime_syntaxes`Jake Goulding-6/+1
2025-06-03Overhaul `UsePath`.Nicholas Nethercote-1/+11
2025-05-02Add `DefPathData::NestedStatic` instead of reusing `DefPathData::AnonConst`John Kåre Alsaker-3/+0
2025-04-29Remove global `next_disambiguator` state and handle it with a `DisambiguatorS...John Kåre Alsaker-8/+3
2025-04-11Introduce `DefPathData::AnonAssocTy`.Nicholas Nethercote-5/+10
2025-03-30Encode synthetic by-move coroutine body with a different DefPathDataMichael Goulet-1/+1
2025-03-09Rollup merge of #138040 - thaliaarchi:use-prelude-size-of.compiler, r=compile...Matthias Krüger-2/+2
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-03-07Make synthetic RPITIT assoc ty name handling more rigorous.Nicholas Nethercote-3/+7
2025-03-07Pass `Option<Symbol>` to `def_path_data`/`create_def` methods.Nicholas Nethercote-5/+7
2025-01-19Run `clippy --fix` for `unnecessary_map_or` lintYotam Ofek-1/+1
2024-12-10Remove more traces of anonymous ADTsMichael Goulet-2/+0
2024-11-28update commentlcnr-1/+10
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-16Fix a couple more DefKind discrepancies between DefKind::Closure and DefKind:...Michael Goulet-1/+4
2024-09-01Revert "Auto merge of #127537 - veluca93:struct_tf, r=BoxyUwU"Jakub Beránek-35/+0
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-2/+7
2024-08-28Implement RFC 3525.Luca Versari-0/+35
2024-08-26Stop using a special inner body for the coroutine by-move body for async clos...Michael Goulet-2/+9
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+4
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-0/+2
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1
2024-04-15Opaque types have no namespaceMichael Goulet-2/+2
2024-04-05explaining `DefKind::Field`bohan-0/+3
2024-03-21Fix bad span for explicit lifetime suggestionShoyu Vanilla-0/+2
2024-03-12Some comment nitsOli Scherer-1/+1
2024-03-12s/mt/mutability/Oli Scherer-1/+1
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-0/+3
2024-03-12Add `nested` bool to `DefKind::Static`.Oli Scherer-0/+2
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-5/+8
2024-02-12Rollup merge of #120950 - compiler-errors:miri-async-closurs, r=RalfJung,oli-obkMatthias Krüger-0/+6
2024-02-12Lower anonymous structs or unions to HIRFrank King-0/+2
2024-02-11is_closure_likeMichael Goulet-0/+6
2023-12-20Give `VariantData::Struct` named fields, to clairfy `recovered`.Alona Enraght-Moony-1/+1
2023-12-18Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostl...Michael Woerister-2/+2
2023-12-03rustc: Harmonize `DefKind` and `DefPathData`Vadim Petrochenkov-0/+37
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-5/+1