about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
AgeCommit message (Expand)AuthorLines
2024-04-08Rollup merge of #123518 - compiler-errors:by-move-fixes, r=oli-obkMatthias Krüger-35/+162
2024-04-08Auto merge of #120614 - DianQK:simplify-switch-int, r=cjgillotbors-116/+436
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-04-08Don't change the otherwise of the switchDianQK-1/+2
2024-04-08Change the return type of `can_simplify` to `Option<()>`DianQK-28/+26
2024-04-08Add comments for `CompareType`DianQK-8/+11
2024-04-08Updating the MIR with MirPatchDianQK-50/+54
2024-04-08Transforms a match containing negative numbers into an assignment statement a...DianQK-11/+38
2024-04-08Transforms match into an assignment statementDianQK-7/+223
2024-04-08Refactor `MatchBranchSimplification`DianQK-133/+205
2024-04-07Re-enable the early otherwise branch optimizationDianQK-2/+1
2024-04-07Resolve unsound hoisting of discriminant in `EarlyOtherwiseBranch`DianQK-116/+50
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-2/+2
2024-04-05Account for an additional reborrow inserted by UniqueImmBorrow and MutBorrowMichael Goulet-3/+8
2024-04-05Check the base of the place too!Michael Goulet-6/+20
2024-04-05Add some helpful commentsMichael Goulet-4/+56
2024-04-05Rework the ByMoveBody shim to actually work correctlyMichael Goulet-34/+90
2024-04-05Rollup merge of #123350 - compiler-errors:async-closure-by-move, r=oli-obkGuillaume Gomez-6/+14
2024-04-05Auto merge of #123444 - saethlin:const-eval-inline-cycles, r=tmiaskobors-4/+14
2024-04-04Rollup merge of #123464 - fmease:rn-has-proj-to-has-aliases, r=compiler-errorsJacob Pratt-1/+1
2024-04-04Force `move` async-closures that are `FnOnce` to make their inner coroutines ...Michael Goulet-6/+14
2024-04-04Rename HAS_PROJECTIONS to HAS_ALIASES etc.León Orell Valerian Liehr-1/+1
2024-04-04Rollup merge of #123439 - Zalathar:constants, r=oli-obkMatthias Krüger-1/+1
2024-04-04Auto merge of #123052 - maurer:addr-taken, r=compiler-errorsbors-3/+3
2024-04-04Teach MIR inliner query cycle avoidance about const_eval_selectBen Kimock-4/+14
2024-04-04coverage: Remove useless constantsZalathar-1/+1
2024-04-03Rollup merge of #123419 - petrochenkov:zeroindex, r=compiler-errorsMatthias Krüger-21/+17
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-21/+17
2024-04-03rename `expose_addr` to `expose_provenance`joboet-2/+2
2024-04-03Auto merge of #123322 - matthewjasper:remove-mir-unsafeck, r=lcnr,compiler-er...bors-791/+2
2024-04-03Remove MIR unsafe checkMatthew Jasper-791/+2
2024-04-03Auto merge of #123402 - workingjubilee:rollup-0j5ihn6, r=workingjubileebors-31/+118
2024-04-03Auto merge of #122225 - DianQK:nits-120268, r=cjgillotbors-14/+56
2024-04-02Comments, comments, commentsMichael Goulet-39/+92
2024-04-02Fix capture analysis for by-move closure bodiesMichael Goulet-16/+50
2024-04-02Auto merge of #118310 - scottmcm:three-way-compare, r=davidtwcobors-0/+3
2024-04-02Track reason for creating a `ReifyShim`Matthew Maurer-3/+3
2024-04-02Avoid an `is_empty()` followed by an index op in favor of a single fallible opOli Scherer-3/+3
2024-04-02Prefer `UnordSet` over `FxHashSet` where possibleOli Scherer-3/+3
2024-03-29Auto merge of #123194 - matthiaskrgr:rollup-vhdc8hw, r=matthiaskrgrbors-6/+3
2024-03-29Rollup merge of #123188 - klensy:clippy-me2, r=NilstriebMatthias Krüger-6/+3
2024-03-29Auto merge of #122450 - Urgau:simplify-trim-paths-feature, r=michaelwoeristerbors-2/+5
2024-03-28Replace `RemapFileNameExt::for_codegen` with explicit callsUrgau-2/+5
2024-03-28and moreklensy-6/+3
2024-03-27Eliminate `UbCheck` for non-standard librariesDianQK-0/+15
2024-03-27Rollup merge of #122860 - Zalathar:unused, r=cjgillotGuillaume Gomez-5/+1
2024-03-26Rollup merge of #123049 - compiler-errors:coroutine-closure-rcvr, r=oli-obkMatthias Krüger-3/+3
2024-03-26In ConstructCoroutineInClosureShim, pass receiver by ref, not pointerMichael Goulet-3/+3
2024-03-26Rollup merge of #122996 - RalfJung:simplify_branches, r=cjgillotMatthias Krüger-0/+1
2024-03-26coverage: Re-enable `UnreachablePropagation` for coverage buildsZalathar-5/+1