about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2025-02-10move pattern migration setup/emitting to a separate moduledianne-61/+104
2025-02-08Rustfmtbjorn3-253/+353
2025-02-07Rollup merge of #136577 - dianne:simple-pat-migration-simplification, r=Nadri...Matthias Krüger-61/+145
2025-02-07Rollup merge of #135973 - WaffleLapkin:tail-track-caller-fix, r=compiler-errorsMatthias Krüger-23/+28
2025-02-06fix tail call checks wrt `#[track_caller]`Waffle Lapkin-23/+28
2025-02-06Rollup merge of #136435 - Zalathar:thir-pat-stuff, r=NadrierilMatthias Krüger-139/+137
2025-02-05peace of mind: be absolutely sure we don't try to emit a 0-part suggestiondianne-1/+4
2025-02-05try to suggest eliding redundant binding modifiersdianne-36/+45
2025-02-05peace of mind: remove a call to `Option::expect`dianne-2/+3
2025-02-05reword default binding mode notesdianne-9/+3
2025-02-05Auto merge of #136302 - oli-obk:push-vvqmwzunxsrk, r=compiler-errorsbors-21/+28
2025-02-05separate labels for default binding mode spans into their own notesdianne-10/+21
2025-02-04Rollup merge of #136526 - Zalathar:thir-cx, r=NadrierilMatthias Krüger-109/+86
2025-02-04experimentally label the spans for default binding modesdianne-35/+94
2025-02-03highlight the whole problem subpattern when pointing out the default binding ...dianne-2/+2
2025-02-04Rollup merge of #136462 - Zalathar:endpoint, r=oli-obkMatthias Krüger-39/+42
2025-02-04Rename `thir::cx::Cx` to `ThirBuildCx`Zalathar-9/+12
2025-02-04Remove helper trait `UserAnnotatedTyHelpers`Zalathar-100/+74
2025-02-03Auto merge of #136352 - lqd:ensure-stacks, r=compiler-errorsbors-6/+12
2025-02-03reword pattern migration diagnostic to make sense in all editionsdianne-8/+19
2025-02-03pattern migration: move labels out of the suggestion structdianne-19/+15
2025-02-03Slightly simplify the signature of `lower_match_arms`Zalathar-10/+8
2025-02-03Avoid double-boxing lists of THIR subpatternsZalathar-9/+9
2025-02-03Remove some non-trivial `box` patternsZalathar-23/+17
2025-02-03Remove `'pat` lifetime from some match-lowering data structuresZalathar-97/+103
2025-02-03Don't demand `&Box<Pat>` in `print_pat`Zalathar-2/+2
2025-02-03Simplify the pattern unpeeling in `lower_pattern_range_endpoint`Zalathar-26/+25
2025-02-03Return range endpoint ascriptions/consts via a `&mut Vec`Zalathar-12/+19
2025-02-03Flatten the option check in `lower_pattern_range_endpoint`Zalathar-31/+28
2025-02-02Rollup merge of #136328 - estebank:long-ty-path, r=jieyouxu,lqdMatthias Krüger-8/+4
2025-02-02Rollup merge of #136279 - Zalathar:ensure-ok, r=oli-obkMatthias Krüger-4/+4
2025-02-01Rollup merge of #130514 - compiler-errors:unsafe-binders, r=oli-obkMatthias Krüger-13/+147
2025-02-01Rename `tcx.ensure_with_value()` to `tcx.ensure_done()`Zalathar-3/+3
2025-02-01Rename `tcx.ensure()` to `tcx.ensure_ok()`Zalathar-1/+1
2025-01-31Rework "long type names" printing logicEsteban Küber-8/+4
2025-01-31Implement MIR, CTFE, and codegen for unsafe bindersMichael Goulet-13/+147
2025-01-31ensure sufficient stack in unsafety checkRémy Rakic-1/+4
2025-01-31ensure sufficient stack in tail call checkRémy Rakic-5/+8
2025-01-31Rollup merge of #136330 - nnethercote:rm-unnecessary-hooks, r=oli-obkMatthias Krüger-16/+14
2025-01-31Remove the `mir_build` hook.Nicholas Nethercote-7/+5
2025-01-31Remove the `thir_{tree,flat}` hooks.Nicholas Nethercote-9/+9
2025-01-30add commentsLukas Markeffsky-0/+1
2025-01-30introduce `ty::Value`Lukas Markeffsky-1/+1
2025-01-30Avoid calling the layout_of query in lit_to_constOli Scherer-23/+26
2025-01-30Don't allow negative unsigned literalsOli Scherer-1/+5
2025-01-29Auto merge of #134248 - oli-obk:patkind-path-removal, r=BoxyUwUbors-4/+0
2025-01-29Eliminate PatKind::PathOli Scherer-4/+0
2025-01-29Rollup merge of #136121 - oli-obk:push-zzvxlynmnqpp, r=estebankLeón Orell Valerian Liehr-49/+50
2025-01-28Rollup merge of #135748 - compiler-errors:len-2, r=RalfJung,oli-obkMatthias Krüger-10/+73
2025-01-28Edit the inputs to const == val check instead of duplicating logicOli Scherer-32/+34