about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/builder
AgeCommit message (Expand)AuthorLines
2025-08-09Auto merge of #143376 - dianne:guard-scope, r=matthewjasperbors-45/+72
2025-08-08Rollup merge of #144999 - Zalathar:remove-mcdc, r=oli-obkStuart Cook-359/+7
2025-08-07only introduce a guard scope for arms with guardsdianne-4/+20
2025-08-07add a scope for `if let` guard temporaries and bindingsdianne-45/+56
2025-08-07Rollup merge of #143764 - dianne:primary-binding-drop-order, r=Nadrieril,trav...Stuart Cook-43/+118
2025-08-07Rollup merge of #143028 - dianne:let-else-storage, r=oli-obk,traviscrossStuart Cook-55/+9
2025-08-06lower bindings in the order they're writtendianne-15/+95
2025-08-06base drop order on the first sub-branchdianne-9/+3
2025-08-06don't schedule unnecessary drops when lowering or-patternsdianne-28/+29
2025-08-06coverage: Remove all unstable support for MC/DC instrumentationZalathar-359/+7
2025-08-02Rollup merge of #144478 - joshtriplett:doc-code-formatting-prep, r=AmanieuSamuel Tardieu-1/+3
2025-07-26Rollup merge of #143585 - folkertdev:loop-match-suggest-const-block, r=oli-obkTrevor Gross-3/+26
2025-07-25Improve and regularize comment placement in doc codeJosh Triplett-1/+3
2025-07-26`loop_match`: suggest extracting to a `const` itemFolkert de Vries-3/+26
2025-07-24Auto merge of #144389 - scottmcm:no-more-mir-cast-assume, r=davidtwcobors-78/+2
2025-07-24MIR-build: No longer emit assumes in enum-as castingScott McMurray-78/+2
2025-07-23Remove useless lifetime parameter.Camille GILLOT-22/+4
2025-07-23Give an AllocId to ConstValue::Slice.Camille GILLOT-13/+28
2025-07-09Auto merge of #143472 - dianne:deref-pat-column-check, r=Nadrierilbors-0/+1
2025-07-07`loop_match`: fix 'no terminator on block'Folkert de Vries-1/+3
2025-07-05Remove yields_in_scope from the scope tree.Camille GILLOT-3/+0
2025-07-04only check for mixed deref/normal constructors when neededdianne-0/+1
2025-07-01loop match: handle opaque patternsFolkert de Vries-2/+4
2025-07-01loop match: run exhaustiveness checkFolkert de Vries-4/+8
2025-07-01Auto merge of #141875 - nnethercote:ByteSymbol, r=petrochenkovbors-11/+12
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-11/+12
2025-06-29mir: Add a `new` method to `statement`dianqk-55/+50
2025-06-25emit `StorageLive` and schedule `StorageDead` for `let`-`else` after matchingdianne-55/+9
2025-06-23Add `#[loop_match]` for improved DFA codegenbjorn3-14/+525
2025-06-13Unimplement unsized_localsmejrs-3/+3
2025-06-05Replace some `Option<Span>` with `Span` and use DUMMY_SP instead of NoneOli Scherer-4/+4
2025-05-31Rollup merge of #141740 - nnethercote:hir-ItemKind-field-order, r=fee1-deadMatthias Krüger-1/+1
2025-05-30Reorder fields in `hir::ItemKind` variants.Nicholas Nethercote-1/+1
2025-05-29Structurally normalize types as needed in projection_ty_coreMichael Goulet-2/+2
2025-05-29Rollup merge of #141683 - compiler-errors:unsafe-binder-capture, r=oli-obkJacob Pratt-2/+2
2025-05-28Rollup merge of #141627 - nnethercote:drop-cleanups, r=matthewjasperTrevor Gross-53/+59
2025-05-28Handle e2021 precise capturing of unsafe binderMichael Goulet-2/+2
2025-05-27Avoid `fold`/`flat_map`.Nicholas Nethercote-5/+6
2025-05-27Factor out some repeated code in `build_exit_tree`.Nicholas Nethercote-12/+6
2025-05-27Rename `DropTree::drops` as `DropTree::drop_nodes`.Nicholas Nethercote-34/+46
2025-05-27Remove `DropNodeKey::kind`.Nicholas Nethercote-2/+1
2025-05-27Rollup merge of #141513 - nia-e:allocbytes-extend, r=RalfJung许杰友 Jieyou Xu (Joe)-3/+3
2025-05-26extend allocbytes with associated typeNia Espera-3/+3
2025-05-23Properly analyze captures from unsafe bindersMichael Goulet-0/+3
2025-05-21Rollup merge of #141357 - dianne:unhardcode-unpretty-thir-tree-body-expr, r=c...Matthias Krüger-4/+0
2025-05-21`unpretty=thir-tree`: don't require the final expr to be the entrypointdianne-4/+0
2025-05-20typeck: catch `continue`s pointing to blocksdianne-2/+1
2025-05-12Fix typosomahs-1/+1
2025-05-04Initial support for dynamically linked cratesBryanskiy-1/+3
2025-04-28Rollup merge of #140022 - dianne:box-deref-pats, r=NadrierilChris Denton-2/+9