about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/item.rs
AgeCommit message (Expand)AuthorLines
2025-04-04Remove an unwanted comment.Nicholas Nethercote-3/+0
2025-04-01Move `ast::Item::ident` into `ast::ItemKind`.Nicholas Nethercote-156/+197
2025-03-28Don't use `kw::Empty` in `hir::Lifetime::ident`.Nicholas Nethercote-2/+2
2025-03-25Rollup merge of #138911 - compiler-errors:define-opaque, r=oli-obkJacob Pratt-18/+54
2025-03-25Rollup merge of #138929 - oli-obk:assoc-ctxt-of-trait, r=compiler-errorsMatthias Krüger-35/+27
2025-03-25Allow defining opaques in statics and constsMichael Goulet-18/+54
2025-03-25Avoid some more global stateOli Scherer-16/+23
2025-03-25Track whether an assoc item is in a trait impl or an inherent implOli Scherer-23/+8
2025-03-25Rollup merge of #138895 - oli-obk:dedup-owner-id-creation, r=compiler-errorsTakayuki Maeda-10/+7
2025-03-24Add a helper for building an owner id in ast loweringOli Scherer-10/+7
2025-03-23fix ICE #138415Takayuki Maeda-2/+2
2025-03-18Auto merge of #138630 - matthiaskrgr:rollup-kk1gogr, r=matthiaskrgrbors-37/+77
2025-03-18Move `hir::Item::ident` into `hir::ItemKind`.Nicholas Nethercote-37/+77
2025-03-17Avoid double lowering of generic identifiers.Nicholas Nethercote-1/+1
2025-03-17Avoid double lowering of lifetime identifiers.Nicholas Nethercote-1/+0
2025-03-11Auto merge of #128440 - oli-obk:defines, r=lcnrbors-5/+50
2025-03-11Error on `define_opaques` entries without any opaques actually referencedOli Scherer-1/+1
2025-03-11Test invalid `define_opaques` attributesOli Scherer-11/+15
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-5/+46
2025-03-10Delegation: fix ICE with invalid MethodCall generationBryanskiy-2/+2
2025-03-03Rollup merge of #132388 - frank-king:feature/where-cfg, r=petrochenkovMatthias Krüger-0/+1
2025-03-01Implment `#[cfg]` and `#[cfg_attr]` in `where` clausesFrank King-0/+1
2025-02-28Tweak incorrect ABI suggestionEsteban Küber-1/+1
2025-02-24Introduce new parsing infrastructure and types for parsed attributesJana Dönszelmann-9/+10
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-1/+4
2025-02-22Make asm a named fieldMichael Goulet-1/+3
2025-02-11compiler: remove rustc_abi::lookup and AbiUnsupportedJubilee Young-1/+1
2025-02-11Auto merge of #136851 - jhpratt:rollup-ftijn95, r=jhprattbors-86/+80
2025-02-10Don't ICE when failing to lower contracts for associated impl itemsMichael Goulet-86/+80
2025-02-09compiler: remove `abi`-specific `extern "{abi}"` suggestionsJubilee Young-9/+4
2025-02-09compiler: gate `extern "{abi}"` in ast_loweringJubilee Young-5/+11
2025-02-09Auto merge of #136751 - bjorn3:update_rustfmt, r=Mark-Simulacrumbors-14/+23
2025-02-08Rustfmtbjorn3-14/+23
2025-02-07compiler: use rustc_abi in rustc_ast_*Jubilee Young-11/+11
2025-02-03Desugars contract into the internal AST extensionsFelix S. Klock II-67/+48
2025-02-03Express contracts as part of function header and lower it to the contract lan...Celina G. Val-4/+108
2025-01-22Enforce that all spans are lowered in ast loweringOli Scherer-0/+1
2025-01-15Treat safe target_feature functions as unsafe by defaultOli Scherer-5/+19
2025-01-14Add hir::HeaderSafety to make follow up commits simplerOli Scherer-1/+5
2025-01-04rustc_intrinsic: support functions without body; they are implicitly marked a...Ralf Jung-19/+39
2025-01-04turn hir::ItemKind::Fn into a named-field variantRalf Jung-6/+6
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-5/+2
2024-12-15Add hir::AttributeJonathan Dönszelmann-3/+3
2024-12-10Keep track of parse errors in `mod`s and don't emit resolve errors for paths ...Esteban Küber-1/+1
2024-12-09Detect `struct S(ty = val);`Esteban Küber-8/+25
2024-12-09Introduce `default_field_values` featureEsteban Küber-0/+1
2024-11-25Refactor `where` predicates, and reserve for attributes supportFrank King-25/+21
2024-11-21Implement the unsafe-fields RFC.Luca Versari-0/+1
2024-10-28Add duplicate lowering checkAdwin White-8/+4
2024-10-28Lower AST node id only onceAdwin White-5/+9