summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/expr.rs
AgeCommit message (Expand)AuthorLines
2021-11-25On type mismatch caused by assignment, point at assigneeEsteban Küber-4/+12
2021-11-21Simplify for loop desugarCameron Steffen-99/+38
2021-10-22Rollup merge of #89895 - camsteffen:for-loop-head-span, r=davidtwcoYuki Okushi-21/+18
2021-10-15Use more lowered spans in for loopCameron Steffen-12/+14
2021-10-15Don't mark for loop head span with desugaringCameron Steffen-10/+5
2021-10-09Store lowering outputs per owner.Camille GILLOT-2/+3
2021-10-02Add desugaring mark to while loopCameron Steffen-4/+7
2021-09-20Make with_hir_id_owner responsible for registering the item.Camille GILLOT-1/+1
2021-09-20Do not store visibility in *ItemRef.Camille GILLOT-1/+0
2021-09-11Auto merge of #84373 - cjgillot:resolve-span, r=michaelwoerister,petrochenkovbors-1/+3
2021-09-11Rebase fallout.Camille GILLOT-0/+1
2021-09-11Auto merge of #88214 - notriddle:notriddle/for-loop-span-drop-temps-mut, r=na...bors-2/+7
2021-09-10Give spans their parent item during lowering.Camille GILLOT-1/+2
2021-09-03Replace Vec by Option.Camille GILLOT-26/+6
2021-08-29ast_lowering: Introduce `lower_span` for catching all spans entering HIRVadim Petrochenkov-50/+134
2021-08-28rustc: use more correct span data in for loop desugaringMichael Howell-2/+7
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-207/+56
2021-08-15Use correct drop scopes for if expressionsMatthew Jasper-3/+14
2021-08-01Inline make_if macroCameron Steffen-12/+4
2021-07-15Remove refs from pat slicesCameron Steffen-5/+14
2021-07-09Update the comment on `lower_expr_try`Scott McMurray-7/+8
2021-06-10Add support for using qualified paths with structs in expression and patternRyan Levick-9/+11
2021-05-18Auto merge of #84767 - scottmcm:try_trait_actual, r=lcnrbors-32/+26
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-318/+3
2021-05-08Make `Diagnostic::span_fatal` unconditionally raise an errorJoshua Nelson-3/+1
2021-05-06Actually implement the feature in the compilerScott McMurray-32/+26
2021-04-29Make current_hir_id_owner a simple tuple.Camille GILLOT-1/+1
2021-04-07Rollup merge of #83916 - Amanieu:asm_anonconst, r=petrochenkovDylan DPC-3/+3
2021-04-06Use AnonConst for asm! constantsAmanieu d'Antras-3/+3
2021-04-04Allow clobbering unsupported registers in asm!Amanieu d'Antras-32/+50
2021-03-17Auto merge of #83188 - petrochenkov:field, r=lcnrbors-14/+20
2021-03-16ast: Reduce size of `ExprKind` by boxing fields of `ExprKind::Struct`Vadim Petrochenkov-8/+9
2021-03-16ast/hir: Rename field-related structuresVadim Petrochenkov-7/+12
2021-03-13Always lower asm! to valid HIRAmanieu d'Antras-45/+44
2021-03-09Use BTreeMap to store attributes.Camille GILLOT-9/+15
2021-03-09Remove hir::Expr::attrs.Camille GILLOT-22/+14
2021-03-09Remove hir::Param::attrs.Camille GILLOT-1/+1
2021-03-09Remove hir::Arm::attrs.Camille GILLOT-16/+3
2021-03-09Take a slice in stmt_let_pat.Camille GILLOT-3/+3
2021-03-09Collect attributes during HIR lowering.Camille GILLOT-9/+11
2021-03-07Remove notes, increase S/N ratioEsteban Küber-18/+11
2021-03-07Account for `if (let pat = expr) {}`Esteban Küber-2/+47
2021-02-25Auto merge of #82447 - Amanieu:legacy_const_generics, r=oli-obkbors-2/+56
2021-02-25Address review commentsAmanieu d'Antras-40/+8
2021-02-23Add #[rustc_legacy_const_generics]Amanieu d'Antras-2/+88
2021-02-19Lower condition of `if` expression before it's "then" blockEsteban Küber-1/+2
2021-02-09Rename HIR UnOp variantsÖmer Sinan Ağacan-3/+3
2021-01-23Rollup merge of #81249 - cjgillot:issue-79537, r=oli-obkJonas Schievink-13/+18
2021-01-21Add loop head span to hirEsteban Küber-4/+15
2021-01-21Lower closure prototype after its body.Camille GILLOT-13/+18