summaryrefslogtreecommitdiff
path: root/tests/ui/pattern
AgeCommit message (Expand)Author
2024-09-13Add a machine-applicable suggestion to "unreachable pattern"Nadrieril
2024-09-11Revert warning empty patterns as unreachableNadrieril
2024-08-26Don't make pattern nonterminals match statement nonterminalsMichael Goulet
2024-08-20Move the "matches no value" note to be a span labelNadrieril
2024-08-19Cap the number of patterns pointed to by the lintNadrieril
2024-08-19Add a note with a link to explain empty typesNadrieril
2024-08-19Reword the "unreachable pattern" explanationsNadrieril
2024-08-13Remove a no-longer-true `assert`Nadrieril
2024-08-10Test that 0/unknown-length arrays are nonemptyNadrieril
2024-08-10Update testsNadrieril
2024-08-10Stabilize `min_exhaustive_patterns`Nadrieril
2024-08-03Revert "Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelix"Michael Goulet
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet
2024-07-24Improve "covered_by_many" errorNadrieril
2024-07-24Explain why a given pattern is considered unreachableNadrieril
2024-07-21Explain why we require `_` for empty patternsNadrieril
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung
2024-07-12Make parse error suggestions verbose and fix spansEsteban Küber
2024-07-11report pat no field error no recoverd struct variantyukang
2024-07-04More accurate mutability suggestionEsteban Küber
2024-07-04Better span for "make binding mutable" suggestionEsteban Küber
2024-06-27Tighten spans for async blocksMichael Goulet
2024-06-26Rollup merge of #126925 - surechen:fix_125631, r=compiler-errorsMatthias Krüger
2024-06-25Rollup merge of #126618 - mu001999-contrib:dead/enhance, r=pnkfelixMatthias Krüger
2024-06-25Change E0369 diagnostic give note information for foreign items.surechen
2024-06-23Replace `f16` and `f128` pattern matching stubs with real implementationsTrevor Gross
2024-06-18Mark assoc tys live only if the trait is livemu001999
2024-06-13Replace some `Option<Diag>` with `Result<(), Diag>`Oli Scherer
2024-06-13Avoid follow-up errors on erroneous patternsOli Scherer
2024-06-06Rollup merge of #125168 - Jules-Bertholet:match-ergonomics-2024-align-with-rf...Matthias Krüger
2024-05-26Auto merge of #124661 - RalfJung:only-structural-consts-in-patterns, r=pnkfelixbors
2024-05-20Move 100 entries from tests/ui into subdirsJubilee Young
2024-05-15"No `ref mut` behind `&`" on all editionsJules Bertholet
2024-05-15Gate implicit mutable by-reference bindings behind `mut ref`Jules Bertholet
2024-05-13`rustc_hir_typeck`: Account for `skipped_ref_pats` in `expr_use_visitor`Jules Bertholet
2024-05-12Match ergonomics 2024: migration lintJules Bertholet
2024-05-03turn pointer_structural_match into a hard errorRalf Jung
2024-05-03remove IndirectStructuralMatch lint, emit the usual hard error insteadRalf Jung
2024-05-02Stabilize exclusive_rangeRoss Smyth
2024-04-29Change wordingest31
2024-04-28Add a note to the ArbitraryExpressionInPattern errorest31
2024-04-25Auto merge of #119650 - chenyukang:yukang-fix-118596-ref-mut, r=wesleywiserbors
2024-04-24Mention when type parameter could be `Clone`Esteban Küber
2024-04-25Suggest ref mut for pattern matching assignmentyukang
2024-04-20Test or-patterns inside deref patternsNadrieril
2024-04-20Use deep fake borrows for deref patternsNadrieril
2024-04-20Address closure-related reviewNadrieril
2024-04-20Allow mutable bindings inside deref patternsNadrieril
2024-04-20Don't fake borrow inside a deref patternNadrieril
2024-04-20Lower deref patterns to MIRNadrieril