summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2025-03-15Rollup merge of #138460 - xizheyin:issue-138319, r=petrochenkovLeón Orell Valerian Liehr-0/+22
2025-03-14Pass precise HirId when calling check_stabilityxizheyin-0/+22
2025-03-13EUV: fix place of deref pattern's interior's scrutineedianne-0/+15
2025-03-11Implement `#[define_opaque]` attribute for functions.Oli Scherer-40/+46
2025-02-25Make E0614 a structured errorEsteban Küber-2/+2
2025-02-21Trim suggestion part before generating highlightsMichael Goulet-21/+21
2025-02-21More sophisticated span trimmingMichael Goulet-18/+12
2025-02-20Auto merge of #137295 - matthiaskrgr:rollup-tdu3t39, r=matthiaskrgrbors-1/+31
2025-02-19don't get trapped inside of expansions when trimming labelsdianne-6/+3
2025-02-19add a failing testdianne-1/+34
2025-02-18"classic2021" ruleset: experimentally add fallback-to-outer (eat both)dianne-116/+54
2025-02-18add mixed-edition testsdianne-0/+486
2025-02-18"structural2021" ruleset: add fallback-to-outer (eat both) deref ruledianne-173/+114
2025-02-18"classic2021" and "structural2021" rulesets: add eat-inherited-ref-alone dere...dianne-514/+163
2025-02-18remove old edition-2021-specific testsdianne-187/+0
2025-02-18add test revisions for old-edition behavior of feature gatesdianne-322/+1783
2025-02-18Rollup merge of #137161 - dianne:pat-migration-bookkeeping-for-macros, r=Nadr...Matthias Krüger-1/+36
2025-02-16bookkeep properly when pointing into macro expansionsdianne-2/+6
2025-02-16add a failing testdianne-1/+32
2025-02-17Rename `pattern_complexity` attr as `pattern_complexity_limit`.Nicholas Nethercote-2/+2
2025-02-14Trim suggestion parts to the subset that is purely additiveMichael Goulet-16/+16
2025-02-14Consider add-prefix replacements tooMichael Goulet-36/+24
2025-02-14Use underline suggestions for purely 'additive' replacementsMichael Goulet-12/+8
2025-02-10Show diff suggestion format on verbose replacementEsteban Küber-226/+339
2025-02-07Add comment for regression #136223 on borrowck-errors.rsShunpoco-5/+7
2025-02-07Rollup merge of #136577 - dianne:simple-pat-migration-simplification, r=Nadri...Matthias Krüger-171/+813
2025-02-05add more pattern migration testsdianne-1/+400
2025-02-05try to suggest eliding redundant binding modifiersdianne-10/+13
2025-02-05reword default binding mode notesdianne-82/+82
2025-02-05Uniformly handle HIR literals in visitors and lintsOli Scherer-1/+10
2025-02-05Add regression testOli Scherer-0/+49
2025-02-05separate labels for default binding mode spans into their own notesdianne-165/+253
2025-02-04don't include trailing open parens in labels for reference patternsdianne-1/+1
2025-02-04experimentally label the spans for default binding modesdianne-166/+165
2025-02-03highlight the whole problem subpattern when pointing out the default binding ...dianne-43/+161
2025-02-03add tests for label formattingdianne-1/+47
2025-02-03use more specific wording for subpatterns from macro expansionsdianne-1/+1
2025-02-03reword pattern migration diagnostic to make sense in all editionsdianne-160/+149
2025-01-30Rollup merge of #135434 - dianne:match-2024-for-edition-2024, r=NadrierilMatthias Krüger-303/+1832
2025-01-29Handle all `PatExpr`s in dead code analysisOli Scherer-18/+3
2025-01-29Add regression test showing we don't realize some consts are usedOli Scherer-1/+24
2025-01-27Remove all dead files inside tests/ui/León Orell Valerian Liehr-778/+0
2025-01-21add tests differing between stable and new rules (with errors on new rules)dianne-18/+155
2025-01-21organize old well-typed-edition-2024 testsdianne-85/+100
2025-01-21add a stable edition 2021 revision to pattern typing testsdianne-198/+1103
2025-01-21add more information to old testsdianne-28/+36
2025-01-21minor test cleanupdianne-59/+26
2025-01-20rename tests' revisions to allow testing multiple editionsdianne-93/+93
2025-01-20"structural" ruleset: match against the inherited ref when a reference patter...dianne-62/+61
2025-01-20"structural" ruleset: use the "classic" ruleset's diagnostic and fallback for...dianne-355/+120