about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering
AgeCommit message (Expand)AuthorLines
2024-10-01Remove anon struct and union typesMichael Goulet-40/+0
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-85/+67
2024-09-22Auto merge of #130337 - BoxyUwU:anon_const_macro_call, r=camelidbors-3/+3
2024-09-21Handle macro calls in anon const def creation take 2Boxy-3/+3
2024-09-20Add missing diagnostics and flesh out testsMichael Goulet-7/+13
2024-09-20Implement RTN in resolve_bound_vars and HIR ty loweringMichael Goulet-5/+4
2024-09-20Conditionally allow lowering RTN (..) in pathsMichael Goulet-10/+98
2024-09-12Re-enable `ConstArgKind::Path` lowering by defaultNoah Lev-8/+5
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-25/+21
2024-09-11Also fix if in elseMichael Goulet-6/+4
2024-09-11Use the same span for attributes and Try expansion of ?Samuel Tardieu-1/+1
2024-09-11Simplify some nested if statementsMichael Goulet-19/+17
2024-09-10disallow `naked_asm!` outside of `#[naked]` functionsFolkert de Vries-2/+8
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-2/+2
2024-09-01Rollup merge of #129493 - cjgillot:early-opaque-def, r=petrochenkovMatthias Krüger-26/+4
2024-08-31Create opaque definitions in resolver.Camille GILLOT-26/+4
2024-08-31Implement `elided_named_lifetimes` lintPavel Grigorenko-4/+4
2024-08-28fmt-debug optionKornel-2/+6
2024-08-27Rollup merge of #129626 - compiler-errors:explicit-named, r=fmeaseMatthias Krüger-14/+1
2024-08-27Rollup merge of #129625 - compiler-errors:generic-args-mode, r=fmeaseMatthias Krüger-24/+23
2024-08-27Rollup merge of #126013 - nnethercote:unreachable_pub, r=UrgauMatthias Krüger-41/+42
2024-08-26Rename ParenthesizedGenericArgs to GenericArgsModeMichael Goulet-24/+23
2024-08-26Remove ParamMode::ExplicitNamedMichael Goulet-14/+1
2024-08-24Rollup merge of #129246 - BoxyUwU:feature_gate_const_arg_path, r=cjgillotMatthias Krüger-5/+8
2024-08-21Rollup merge of #129345 - compiler-errors:scratch4, r=jieyouxuMatthias Krüger-1/+1
2024-08-21Simplify some redundant field namesMichael Goulet-1/+1
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-4/+3
2024-08-19Retroactively feature gate `ConstArgKind::Path`Boxy-5/+8
2024-08-16Use FnSig instead of raw FnDecl for ForeignItemKind::FnMichael Goulet-8/+18
2024-08-16Add `warn(unreachable_pub)` to `rustc_ast_lowering`.Nicholas Nethercote-41/+42
2024-08-13stabilize `asm_const`Folkert-16/+3
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-13/+30
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+2
2024-08-10rustc_ast_lowering: make asm-related unstability messages translatablePavel Grigorenko-7/+21
2024-08-10rustc_ast_lowering: make "yield syntax is experimental" translatablePavel Grigorenko-4/+5
2024-08-10rustc_ast_lowering: make "using `_` for array lengths is unstable" translatablePavel Grigorenko-2/+4
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
2024-07-31minor `effects` cleanupsDeadbeef-1/+0
2024-07-29Delegation: support generics for delegation from free functionsBryanskiy-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-75/+77
2024-07-26Rollup merge of #128226 - oli-obk:option_vs_empty_slice, r=petrochenkovTrevor Gross-6/+6
2024-07-26Remove redundant option that was just encoding that a slice was emptyOli Scherer-6/+6
2024-07-25Support ?Trait bounds in supertraits and dyn Trait under a feature gateBryanskiy-17/+21
2024-07-23Gate AsyncFn* under async_closure featureMichael Goulet-7/+15
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-97/+216
2024-07-16Use `ConstArg` for const param defaultsNoah Lev-11/+15
2024-07-16Use `ConstArg` for array lengthsNoah Lev-2/+2
2024-07-16Use `ConstArg` for assoc item constraintsNoah Lev-1/+1
2024-07-16Setup ast_lowering functions for `ConstArg`Noah Lev-53/+67
2024-07-16hir: Create `hir::ConstArgKind` enumNoah Lev-3/+3