about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis
AgeCommit message (Expand)AuthorLines
2024-02-07Rollup merge of #120633 - Nadrieril:place_info, r=compiler-errorsGuillaume Boisseau-40/+57
2024-02-06Rollup merge of #120331 - Nadrieril:no-arena, r=compiler-errorsMatthias Krüger-62/+60
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+2
2024-02-06Invert diagnostic lints.Nicholas Nethercote-0/+3
2024-02-06Track `is_top_level` via `PlaceInfo`Nadrieril-10/+14
2024-02-06Zip together `place_ty` and `place_validity`Nadrieril-33/+46
2024-02-05Auto merge of #120313 - Nadrieril:graceful-error, r=compiler-errorsbors-14/+18
2024-02-03Rollup merge of #120517 - Nadrieril:lower-never-as-wildcard, r=compiler-errorsMatthias Krüger-2/+3
2024-02-03Rollup merge of #120516 - Nadrieril:cleanup-impls, r=compiler-errorsMatthias Krüger-91/+4
2024-02-02Remove dead args from functionsMichael Goulet-1/+1
2024-01-31Remove `pattern_arena` from `RustcMatchCheckCtxt`Nadrieril-8/+9
2024-01-31Use a `Vec` instead of a slice in `DeconstructedPat`Nadrieril-54/+51
2024-01-31Gracefully abort on type incompatibilityNadrieril-14/+18
2024-01-31It is correct to lower `!` to `_`.Nadrieril-2/+3
2024-01-31Manual `Debug` impls are not needed since `TypeCx: Debug`Nadrieril-49/+4
2024-01-31Remove unused `Constructor: PartialEq` implNadrieril-42/+0
2024-01-30Separate `PlaceCtxt` from `UsefulnessCtxt`Nadrieril-8/+8
2024-01-30Make `PatternColumn` part of the public APINadrieril-90/+101
2024-01-30Repurpose `MatchCtxt` for usefulness onlyNadrieril-23/+21
2024-01-30Limit the use of `PlaceCtxt`Nadrieril-52/+42
2024-01-30Make `PatternColumn` generic in `Cx`Nadrieril-27/+20
2024-01-27Stop using derivative in rustc_pattern_analysisLaurențiu Nicola-25/+191
2024-01-26Rollup merge of #118803 - Nadrieril:min-exhaustive-patterns, r=compiler-errorsMatthias Krüger-10/+24
2024-01-25Rollup merge of #120318 - Nadrieril:share-debug-impl, r=compiler-errorsMatthias Krüger-107/+97
2024-01-25Implement feature gate logicNadrieril-10/+24
2024-01-24Improve `Range: Debug` implNadrieril-5/+11
2024-01-24Most of the `DeconstructedPat` `Debug` impl is reusableNadrieril-102/+86
2024-01-24Let `ctor_sub_tys` return any Iterator they wantNadrieril-19/+24
2024-01-23Rename `TyCtxt::emit_spanned_lint` as `TyCtxt::emit_node_span_lint`.Nicholas Nethercote-2/+2
2024-01-20Remove Ty: Copy boundNadrieril-30/+31
2024-01-19Rollup merge of #119835 - Nadrieril:simplify-empty-logic, r=compiler-errorsMatthias Krüger-50/+28
2024-01-17Rollup merge of #120039 - Nadrieril:remove-idx, r=compiler-errorsMatthias Krüger-6/+48
2024-01-17Don't rely on contiguous `VariantId`s outside of rustcNadrieril-6/+48
2024-01-15Remove the unused `overlapping_range_endpoints` VecNadrieril-39/+5
2024-01-15Lint overlapping ranges directly from exhaustivenessNadrieril-59/+49
2024-01-15Simplify empty pattern logic some moreNadrieril-8/+7
2024-01-15Simplify empty pattern logic a bitNadrieril-14/+13
2024-01-15Make all the empty pattern decisions in `usefulness`Nadrieril-20/+19
2024-01-15Simplify use of `ValidityConstraint`Nadrieril-23/+4
2024-01-12rustc_pattern_analysis no longer needs to be passed an arenaNadrieril-34/+19
2024-01-11Only lint ranges that really overlapNadrieril-90/+118
2024-01-11Factor out collection of overlapping rangesNadrieril-31/+62
2024-01-11Track row intersectionsNadrieril-18/+36
2024-01-11Auto merge of #119837 - matthiaskrgr:rollup-l2olpad, r=matthiaskrgrbors-37/+59
2024-01-09Document the new `expand_and_push` methodNadrieril-3/+5
2024-01-09Avoid `PatOrWild` glob importNadrieril-18/+18
2024-01-07Abort analysis on type errorNadrieril-11/+24
2024-01-07Add an error path to the algorithmNadrieril-26/+35
2024-01-07We only need the arity of the subtype list nowNadrieril-18/+13
2024-01-07Use special enum to represent algorithm-generated wildcards in the matrixNadrieril-42/+100