about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/def.rs
AgeCommit message (Expand)AuthorLines
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
2023-11-20Put derives on a single line where possible.Nicholas Nethercote-10/+5
2023-11-20Add a comment.Nicholas Nethercote-0/+2
2023-10-20s/generator/coroutine/Oli Scherer-3/+3
2023-10-20s/Generator/Coroutine/Oli Scherer-5/+5
2023-09-26Don't store lazyness in DefKindMichael Goulet-6/+4
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-4/+6
2023-07-08Replace RPITIT current impl with new strategy that lowers as a GATSantiago Pastorino-6/+1
2023-04-16use matches! macro in more placesMatthias Krüger-4/+1
2023-02-22diagnostics: if AssocFn has self argument, describe as methodMichael Howell-0/+9
2023-02-14Add `of_trait` to DefKind::Impl.Camille GILLOT-5/+7
2023-02-10Resolve documentation links in rustc and store the results in metadataVadim Petrochenkov-1/+15
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-2/+1
2022-11-21Unreserve braced enum variants in value namespaceVadim Petrochenkov-18/+4
2022-10-11rustc_hir: Less error-prone methods for accessing `PartialRes` resolutionVadim Petrochenkov-0/+10
2022-09-29Shrink `hir::def::Res`.Nicholas Nethercote-50/+65
2022-09-09Address nitsMichael Goulet-2/+2
2022-09-09RPITIT placeholder itemsMichael Goulet-0/+5
2022-09-08remove unnecessary `PartialOrd` and `Ord`Takayuki Maeda-1/+1
2022-09-05Add some blank lines to the definition of `Res`.Nicholas Nethercote-1/+5
2022-08-28Remove `register_attr` featureYuki Okushi-8/+2
2022-07-26Replace LifetimeRes::Anonymous by LifetimeRes::Infer.Camille GILLOT-5/+2
2022-07-26Remove the distinction between LifetimeName::Implicit and LifetimeName::Under...Camille GILLOT-2/+0