about summary refs log tree commit diff
path: root/tests/ui/pattern
AgeCommit message (Expand)AuthorLines
2025-05-06let deref patterns participate in usefulness/exhaustivenessdianne-15/+9
2025-05-05always peel `&mut`, to allow matching on `&mut str`dianne-3/+143
2025-05-05match ergonomics for string and byte string literal patternsdianne-41/+156
2025-05-04Auto merge of #140616 - petrochenkov:noannempty, r=jieyouxubors-2/+1
2025-05-03compiletest: Do not require annotations on empty labels and suggestionsVadim Petrochenkov-2/+1
2025-05-03Move some tests out of tests/uimejrs-0/+26
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-307/+331
2025-04-27Test partial moves via deref patsNadrieril-0/+8
2025-04-24lower deref patterns on boxes using built-in derefsdianne-0/+47
2025-04-24move existing tests away from using boxesdianne-50/+96
2025-04-24Rollup merge of #140028 - dianne:lit-deref-pats-p1, r=oli-obkMatthias Krüger-29/+244
2025-04-22make `[u8]` and `[u8;N]` literal patterns usable in deref patternsdianne-1/+147
2025-04-22make `str` literal patterns usable in deref patternsdianne-29/+54
2025-04-22add a test for byte string literal pattern mutability mismatchesdianne-0/+44
2025-04-19Rollup merge of #139042 - compiler-errors:do-not-optimize-switchint, r=saethlinChris Denton-0/+24
2025-04-18Rollup merge of #138528 - dianne:implicit-deref-patterns, r=NadrierilMatthias Krüger-6/+437
2025-04-17Auto merge of #139949 - matthiaskrgr:rollup-pxc5tsx, r=matthiaskrgrbors-5/+5
2025-04-17Rollup merge of #138632 - clubby789:stabilize-cfg-boolean-lit, r=davidtwco,Ur...Matthias Krüger-5/+5
2025-04-16Make cow_of_cow test a teeny bit more explicitNadrieril-1/+2
2025-04-16add a feature gate testdianne-0/+44
2025-04-16upvar inference for implicit deref patternsdianne-0/+27
2025-04-16respect the tcx's recursion limit when peelingdianne-0/+41
2025-04-16don't peel ADTs the pattern could matchdianne-0/+79
2025-04-16register `DerefMut` bounds for implicit mutable derefsdianne-3/+62
2025-04-16pattern typing for immutable implicit deref patternsdianne-3/+183
2025-04-16Remove old diagnostic notes for type ascription syntaxZalathar-2/+0
2025-04-08Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ubMichael Goulet-0/+24
2025-04-08UI tests: add missing diagnostic kinds where possibleVadim Petrochenkov-52/+52
2025-04-08borrowck typeck children together with their parentlcnr-26/+92
2025-04-03Use `cfg(false)` in UI testsclubby789-5/+5
2025-03-21remove `feature(inline_const_pat)`lcnr-17/+60
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