summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/expr.rs
AgeCommit message (Expand)AuthorLines
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
2021-01-07Reintroduce hir::ExprKind::IfCaio-25/+31
2020-12-17Rollup merge of #79051 - LeSeulArtichaut:if-let-guard, r=matthewjasperYuki Okushi-5/+10
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-6/+4
2020-12-06Introduce if-let guards in the HIRLeSeulArtichaut-5/+10
2020-12-03Combination of commitsRich Kadel-1/+1
2020-11-23Lower `if let` before the arms.Camille GILLOT-2/+2
2020-11-15Rollup merge of #79016 - fanzier:underscore-expressions, r=petrochenkovJonas Schievink-1/+18
2020-11-14Add underscore expressions for destructuring assignmentsFabian Zaiser-1/+18
2020-11-13Reuse vectorDániel Buga-1/+5
2020-11-11Implement destructuring assignment for structs and slicesFabian Zaiser-7/+119
2020-11-07Implement destructuring assignment for tuplesFabian Zaiser-1/+130
2020-10-21Unconditionally capture tokens for attributes.Aaron Hill-3/+5
2020-10-18Auto merge of #78066 - bugadani:wat, r=jonas-schievinkbors-44/+39
2020-10-18Early return to decrease indentationDániel Buga-44/+39
2020-10-16Lower inline const's AST to HIRSantiago Pastorino-2/+3
2020-10-16Parse inline const expressionsSantiago Pastorino-0/+3
2020-10-15Replace target.target with target and target.ptr_width with target.pointer_widthest31-1/+1
2020-10-06Separate bounds and predicates for associated/opaque typesMatthew Jasper-11/+19
2020-09-10use sort_unstable to sort primitive typesMatthias Krüger-2/+3
2020-08-30mv compiler to compiler/mark-0/+1789