summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/block.rs
AgeCommit message (Expand)AuthorLines
2023-12-18Pass THIR ExprIds in MIR buildingMatthew Jasper-11/+9
2023-12-04Don't include destruction scopes in THIRMatthew Jasper-90/+66
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-3/+3
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-2/+2
2023-04-03Add Span to StmtKind::Let.Camille GILLOT-0/+2
2022-12-14Auto merge of #104986 - compiler-errors:opaques, r=oli-obkbors-1/+3
2022-12-13Do not suggest borrowing binding in pattern in let elseEsteban Küber-1/+1
2022-12-13Combine projection and opaque into aliasMichael Goulet-1/+3
2022-11-21Only declare bindings for if-let guards once per armLéo Lanteri Thauvin-4/+3
2022-11-13fix some typos in commentscui fliter-1/+1
2022-09-28fix unwind drop glue for if-then scopesDing Xiang Fei-5/+0
2022-09-25Fix scoping for let-else.Camille GILLOT-16/+27
2022-09-18avoid duplicating StorageLive in let-elseDing Xiang Fei-1/+2
2022-09-15add diagram to explain the MIR structureDing Xiang Fei-0/+53
2022-09-15add explanatory noteDing Xiang Fei-0/+15
2022-09-15supplement for the missing or incomplete commentsDing Xiang Fei-1/+4
2022-09-15reorder nesting scopes and declare bindings without drop scheduleDing Xiang Fei-22/+95
2022-09-02Avoid some clones.Nicholas Nethercote-1/+1
2022-09-02Clean up THIR patterns.Nicholas Nethercote-2/+2
2022-08-26Auto merge of #100944 - nnethercote:shrink-thir-Expr, r=cjgillotbors-3/+3
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-3/+3
2022-07-31provide a clearer explanation of scope breakingDing Xiang Fei-1/+3
2022-07-31break out to one scope higher for let-elseDing Xiang Fei-2/+17
2022-07-21break out scopes when let-else fails to matchDing Xiang Fei-0/+1
2022-07-11lower let-else in MIR insteadDing Xiang Fei-10/+23
2022-05-25try to cache region_scope_tree as a queryDing Xiang Fei-2/+1
2022-05-22factor out the rvalue lifetime ruleDing Xiang Fei-1/+2
2022-05-20Remove `crate` visibility usage in compilerJacob Pratt-1/+1
2022-03-28Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk"Oli Scherer-2/+4
2022-02-20Improve `unused_unsafe` lintFrank Steffahn-17/+5
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-4/+2
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-2/+4
2021-06-21Fix unused_unsafe with compiler-generated unsafeCameron Steffen-0/+1
2021-06-06Remove some last remants of {push,pop}_unsafe!Smitty-18/+4
2021-05-22Make THIR building a stealable queryLeSeulArtichaut-1/+1
2021-05-22Move THIR structure definitions to `rustc_middle`LeSeulArtichaut-1/+1
2021-05-19Store THIR in `IndexVec`s instead of an `Arena`LeSeulArtichaut-12/+21
2021-03-09Remove useless references/dereferencesLeSeulArtichaut-23/+16
2021-03-09Make arena allocation for the THIR workLeSeulArtichaut-3/+3
2021-03-09Pull `thir::Cx` out of the MIR `Builder`LeSeulArtichaut-5/+4
2021-03-09[WIP] Eagerly construct bodies of THIRLeSeulArtichaut-32/+33
2021-02-04Revert "Avoid leaking block expression values"Felix S. Klock II-7/+3
2020-12-04Avoid leaking block expression valuesMatthew Jasper-3/+7
2020-10-04Defer creating drop trees in MIR lowering until leaving that scopeMatthew Jasper-8/+10
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-2/+1
2020-08-30mv compiler to compiler/mark-0/+246