about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2024-04-20Test or-patterns inside deref patternsNadrieril-1/+13
2024-04-20Use deep fake borrows for deref patternsNadrieril-0/+26
2024-04-20Address closure-related reviewNadrieril-0/+21
2024-04-20Allow mutable bindings inside deref patternsNadrieril-0/+15
2024-04-20Don't fake borrow inside a deref patternNadrieril-2/+2
2024-04-20Lower deref patterns to MIRNadrieril-6/+174
2024-04-15Fix testsJules Bertholet-4/+5
2024-04-15Rename feature gateJules Bertholet-12/+12
2024-04-15Temporarily remove future compatibility label from migration lintJules Bertholet-8/+2
2024-04-15Migration lintJules Bertholet-0/+53
2024-04-15Match ergonomics 2024: `mut` doesn't reset binding modeJules Bertholet-0/+106
2024-04-11Mention when the type of the moved value doesn't implement `Clone`Esteban Küber-0/+10
2024-04-11Fix accuracy of `T: Clone` check in suggestionEsteban Küber-6/+0
2024-04-11Account for unops when suggesting cloningEsteban Küber-2/+3
2024-04-11Suggest `.clone()` when moved while borrowedEsteban Küber-0/+5
2024-04-01Fix union handling in exhaustivenessNadrieril-11/+12
2024-03-31Add testsNadrieril-0/+68
2024-03-27Feature gateJules Bertholet-0/+125
2024-03-25Require DerefMut if deref pattern has nested ref mut bindingMichael Goulet-0/+37
2024-03-22Validate that we're only matching on unit struct for path patternMichael Goulet-0/+65
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-4/+4
2024-03-20Add barest-bones deref patternsNadrieril-0/+31
2024-03-19Fix incorrect mutable suggestion information for binding in ref pattern.surechen-1/+47
2024-03-18Rollup merge of #121823 - Nadrieril:never-witnesses, r=compiler-errorsMatthias Krüger-187/+880
2024-03-15Rollup merge of #122254 - estebank:issue-48677, r=oli-obkMatthias Krüger-33/+33
2024-03-13Tweak wordingEsteban Küber-33/+33
2024-03-13Remove `MaybeInfiniteInt::JustAfterMax`Nadrieril-4/+4
2024-03-13Rollup merge of #121908 - Nadrieril:dynamic-variant-collection, r=matthewjasperMatthias Krüger-0/+14
2024-03-12Don't suggest an arm when suggesting a never patternNadrieril-15/+15
2024-03-12Suggest never pattern instead of `_` for empty typesNadrieril-57/+57
2024-03-12Run the empty_types tests with never_patterns tooNadrieril-187/+880
2024-03-09Lint small gaps between rangesNadrieril-0/+310
2024-03-09Allow lint where we don't careNadrieril-38/+40
2024-03-03Rollup merge of #121917 - GuillaumeGomez:pattern-complexity_limit.rs, r=Nadri...Guillaume Gomez-0/+123
2024-03-03Add and update tests to use `pattern_complexity`Guillaume Gomez-0/+123
2024-03-02Rollup merge of #121716 - Nadrieril:simple-binding-order, r=matthewjasperGuillaume Boisseau-0/+48
2024-03-02Fix a subtle regressionNadrieril-0/+14
2024-03-01Detect more cases of `=` to `:` typoEsteban Küber-2/+6
2024-02-28Add test for the known case that doesn't workNadrieril-0/+48
2024-02-23Rollup merge of #120742 - Nadrieril:use-min_exh_pats, r=compiler-errorsMatthias Krüger-220/+180
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-84/+84
2024-02-13Do not point at `#[allow(_)]` as the reason for compat lint triggeringEsteban Küber-6/+0
2024-02-13Prefer `min_exhaustive_patterns` in testsNadrieril-2/+2
2024-02-13Unmark the feature gate as incompleteNadrieril-218/+178
2024-02-09Move some testsCaio-0/+32
2024-02-08Rollup merge of #120775 - Nadrieril:more-min_exh_pats, r=compiler-errorsMatthias Krüger-16/+138
2024-02-08Auto merge of #120767 - matthiaskrgr:rollup-0k8ib1c, r=matthiaskrgrbors-211/+410
2024-02-08Test `min_exhaustive_patterns` in more casesNadrieril-16/+138
2024-02-08Continue to borrowck even if there were previous errorsOli Scherer-9/+76
2024-02-08Rollup merge of #120727 - Nadrieril:tweak-int-reporting, r=compiler-errorsMatthias Krüger-45/+189