about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_build`.Nicholas Nethercote-8/+24
2024-05-12Match ergonomics 2024: migration lintJules Bertholet-19/+98
2024-05-10Use fewer origins when creating type variables.Nicholas Nethercote-4/+1
2024-05-07Auto merge of #124223 - Zalathar:conditional-let, r=compiler-errorsbors-3/+30
2024-05-04Lower never patterns to Unreachable in mirNadrieril-1/+65
2024-05-04Auto merge of #124401 - oli-obk:some_hir_cleanups, r=cjgillotbors-1/+2
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-9/+8
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-89/+3
2024-05-02Rollup merge of #124624 - WaffleLapkin:old_unit, r=fmeaseMatthias Krüger-3/+3
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-3/+3
2024-05-01Step bootstrap cfgsMark Rousskov-1/+0
2024-04-30Replace item names containing an error code with something more meaningfulLeón Orell Valerian Liehr-11/+5
2024-04-30coverage: Add branch coverage support for if-let and let-chainsZalathar-1/+4
2024-04-30coverage: Add branch coverage support for let-elseZalathar-3/+27
2024-04-30coverage. Split mcdc builder to a sub module of coverageinfozhuyunxing-269/+279
2024-04-30coverage. Add MCDCInfoBuilder to isolate all mcdc stuff from BranchInfoBuilderzhuyunxing-86/+110
2024-04-30coverage. Add BlockMarkerGen to avoid ownership gymnasticszhuyunxing-29/+35
2024-04-29Rollup merge of #124508 - Zalathar:op, r=jieyouxu许杰友 Jieyou Xu (Joe)-4/+4
2024-04-29Auto merge of #124255 - RenjiSann:renji/mcdc-nested-expressions, r=Zalatharbors-15/+66
2024-04-29Avoid some `def_span` query callsOli Scherer-1/+2
2024-04-29mcdc-coverage: Get decision_depth from THIR loweringDorian Péron-17/+66
2024-04-29mcdc-coverage: Add decision_depth field in structsDorian Péron-0/+2
2024-04-29coverage: Avoid hard-coded values when visiting logical opsZalathar-4/+4
2024-04-23Rollup merge of #124218 - Xiretza:subsubdiagnostics, r=davidtwcoLeón Orell Valerian Liehr-2/+2
2024-04-23Rollup merge of #122598 - Nadrieril:full-derefpats, r=matthewjasperLeón Orell Valerian Liehr-151/+252
2024-04-22coverage: Move some helper code into `BranchInfoBuilder`Zalathar-26/+40
2024-04-22coverage: Detach MC/DC branch spans from regular branch spansZalathar-27/+20
2024-04-21Pass translation closure to add_to_diag_with() as referenceXiretza-2/+2
2024-04-20Use deep fake borrows for deref patternsNadrieril-28/+30
2024-04-20Add a non-shallow fake borrowNadrieril-4/+5
2024-04-20Rework fake borrow calculationNadrieril-117/+139
2024-04-20Allow mutable bindings inside deref patternsNadrieril-15/+33
2024-04-20Track mutability of deref patternsNadrieril-4/+6
2024-04-20Don't fake borrow inside a deref patternNadrieril-2/+12
2024-04-20Lower deref patterns to MIRNadrieril-32/+78
2024-04-20Rollup merge of #123409 - ZhuUx:master, r=oli-obkMatthias Krüger-10/+256
2024-04-19coverage. Generate Mappings of decisions and conditions for MC/DCzhuyunxing-10/+247
2024-04-18Rollup merge of #124110 - beetrees:neg-f16-f128, r=compiler-errorsJubilee-2/+14
2024-04-19coverage. Add coverage-options=mcdc as gate for MC/DC instrumentzhuyunxing-0/+9
2024-04-18Rollup merge of #124064 - Zalathar:otherwise-block, r=NadrierilMatthias Krüger-3/+3
2024-04-18Fix negating `f16` and `f128` constantsbeetrees-2/+14
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-18/+13
2024-04-17Move confusing comment about otherwise blocks in `lower_match_tree`Zalathar-3/+3
2024-04-17Rollup merge of #122813 - nnethercote:nicer-quals, r=compiler-errorsMatthias Krüger-20/+14
2024-04-16Rollup merge of #123512 - Jules-Bertholet:ref-pat-eat-one-layer-2024, r=Nadri...Guillaume Gomez-1/+1
2024-04-16Rollup merge of #123995 - compiler-errors:thir-hooks, r=oli-obkGuillaume Gomez-7/+8
2024-04-16Avoid lots of `hir::HirId{,Map,Set}` qualifiers.Nicholas Nethercote-20/+14
2024-04-15Ensure inherited reference is never set to `&mut` behind an `&`Jules Bertholet-1/+1
2024-04-15Make thir_tree and thir_flat into hooksMichael Goulet-7/+8
2024-04-15Remove TypeVariableOriginKindMichael Goulet-5/+4