about summary refs log tree commit diff
path: root/compiler/rustc_hir/src/def.rs
AgeCommit message (Expand)AuthorLines
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
2022-07-25Report elision failures on the AST.Camille GILLOT-1/+1
2022-07-20Introduce AnonymousLifetimeRib::Elided and use it for implied 'static.Camille GILLOT-1/+1
2022-06-21Always create parameters for functions-like types.Camille GILLOT-2/+1
2022-06-19Leave the responsibility to create `Fresh` lifetimes to lowering.Camille GILLOT-1/+3
2022-06-14Make ResolverAstLowering a struct.Camille GILLOT-1/+41
2022-05-31Apply track_caller to closure on `expect_non_local()`Yuki Okushi-1/+4
2022-05-30Default methods of traits are also AssocFn defs as they essentially desugar t...Oli Scherer-0/+1
2022-05-09reviewlcnr-0/+37
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-0/+1
2022-05-03Auto merge of #95380 - compiler-errors:unit-destructure-assign, r=nikomatsakisbors-0/+5