about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/expr.rs
AgeCommit message (Expand)AuthorLines
2022-05-07Auto merge of #96094 - Elliot-Roberts:fix_doctests, r=compiler-errorsbors-3/+3
2022-05-03Auto merge of #95380 - compiler-errors:unit-destructure-assign, r=nikomatsakisbors-0/+37
2022-05-02fix most compiler/ doctestsElliot Roberts-3/+3
2022-04-30Add `do yeet` expressions to allow experimentation in nightlyScott McMurray-0/+39
2022-04-27Use LifetimeRes during lowering.Camille GILLOT-1/+0
2022-04-06Fix unit struct/enum variant in destructuring assignmentMichael Goulet-0/+37
2022-03-30async: Give predictable, reserved name to binding generated from .await expre...Michael Woerister-13/+16
2022-02-20Rollup merge of #94146 - est31:let_else, r=cjgillotMatthias Krüger-3/+2
2022-02-19Adopt let else in more placesest31-3/+2
2022-02-17Add more information to `impl Trait` deny errorMichael Goulet-10/+16
2022-01-23Rollup merge of #93103 - estebank:await-span, r=nagisaMatthias Krüger-10/+10
2022-01-21Remove a span from hir::ExprKind::MethodCallCameron Steffen-6/+1
2022-01-20Tweak `expr.await` desugaring `Span`Esteban Kuber-10/+10
2022-01-18Formally implement let chainsCaio-6/+12
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-33/+0
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-33/+0
2022-01-10Use pre-interned symbols in a couple of placesbjorn3-6/+8
2021-12-23implement `generic_arg_infer` for array lengthslcnr-1/+1
2021-12-17Auto merge of #89841 - cormacrelf:let-else-typed, r=nagisabors-5/+9
2021-12-15Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, r=jackh7...Matthias Krüger-19/+0
2021-12-14Stabilize `destructuring_assignment`Jacob Pratt-19/+0
2021-12-13Fix rebase and clippy testsEsteban Kuber-7/+17
2021-12-13Keep info on pre-desugaring expression for better "incorrect `.await`" sugges...Esteban Kuber-11/+40
2021-12-13When `.await` is called on a non-`Future` expression, suggest removalEsteban Kuber-2/+3
2021-12-13let-else: add hir::Let and type check it like a hir::LocalCormac Relf-5/+9
2021-12-03Auto merge of #90737 - eholk:intofuture, r=tmandrybors-4/+20
2021-11-25On type mismatch caused by assignment, point at assigneeEsteban Küber-4/+12
2021-11-22Fix commentsEric Holk-2/+2
2021-11-22Reintroduce `into_future` in `.await` desugaringEric Holk-5/+21
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