about summary refs log tree commit diff
path: root/tests/ui/pattern/usefulness
AgeCommit message (Expand)AuthorLines
2025-09-25usize/isize range matching error clarificationhelldawg-23/+23
2025-07-28In rustc_pattern_analysis, put `true` witnesses before `false` witnessesChayim Refael Friedman-3/+3
2025-06-30Remove let_chains featureCameron Steffen-10/+12
2025-06-03Use non-2015 edition paths in tests that do not test for their resolutionLukas Wirth-1/+1
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-2/+1
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-12/+20
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-28/+28
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-40/+46
2025-02-21Trim suggestion part before generating highlightsMichael Goulet-21/+21
2025-02-21More sophisticated span trimmingMichael Goulet-18/+12
2025-02-17Rename `pattern_complexity` attr as `pattern_complexity_limit`.Nicholas Nethercote-1/+1
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-12/+12
2025-02-14Consider add-prefix replacements tooMichael Goulet-36/+24
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-36/+54
2025-01-27Remove all dead files inside tests/ui/León Orell Valerian Liehr-778/+0
2025-01-18Emit a single privacy error for multiple fields on the same struct expressionEsteban Küber-1/+1
2024-12-04Add additional context for non-sructural type constant used in patternEsteban Küber-5/+11
2024-12-04Tweak ptr in pattern errorEsteban Küber-16/+32
2024-12-04On `const` pattern errors, point at the `const` item definitionEsteban Küber-0/+27
2024-11-26tests: remove `//@ pretty-expanded` usages许杰友 Jieyou Xu (Joe)-2/+0
2024-11-23Update tests for new TRPL chapter orderChris Krycho-21/+21
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-0/+84
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-0/+84
2024-11-16Also check if let chains with multiple lets in these two testsest31-5/+15
2024-11-08Get rid of check_opaque_type_well_formedMichael Goulet-28/+28
2024-10-24add third help hint to diagnostic error E0027Duncan Proctor-0/+24
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril-84/+433
2024-09-11Revert warning empty patterns as unreachableNadrieril-427/+57
2024-08-20Move the "matches no value" note to be a span labelNadrieril-248/+124
2024-08-19Cap the number of patterns pointed to by the lintNadrieril-9/+52
2024-08-19Add a note with a link to explain empty typesNadrieril-17/+148
2024-08-19Reword the "unreachable pattern" explanationsNadrieril-391/+391
2024-08-13Remove a no-longer-true `assert`Nadrieril-95/+132
2024-08-10Test that 0/unknown-length arrays are nonemptyNadrieril-47/+144
2024-08-10Update testsNadrieril-451/+612
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril-1/+0
2024-07-24Improve "covered_by_many" errorNadrieril-21/+102
2024-07-24Explain why a given pattern is considered unreachableNadrieril-122/+824
2024-07-21Explain why we require `_` for empty patternsNadrieril-0/+10
2024-06-23Replace `f16` and `f128` pattern matching stubs with real implementationsTrevor Gross-23/+97
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors-176/+24
2024-05-03turn pointer_structural_match into a hard errorRalf Jung-164/+24
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung-12/+0
2024-05-02Stabilize exclusive_rangeRoss Smyth-96/+89
2024-04-01Fix union handling in exhaustivenessNadrieril-11/+12
2024-03-31Add testsNadrieril-0/+68
2024-03-18Rollup merge of #121823 - Nadrieril:never-witnesses, r=compiler-errorsMatthias Krüger-187/+880
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