summary refs log tree commit diff
path: root/src/test/ui/pattern/usefulness
AgeCommit message (Expand)AuthorLines
2022-10-01bless ui testsMaybe Waffle-4/+4
2022-09-15Remove the let_else feature gate from the testsuiteest31-14/+12
2022-09-15Remove feature gate from let else suggestionest31-2/+2
2022-09-03Include enum path in variant suggestionMichael Goulet-180/+180
2022-07-01Shorten def_span for more items.Camille GILLOT-98/+50
2022-06-19Be more hygenic with spansMichael Goulet-56/+38
2022-06-19Only omit trailing comma if block doesn't come from macro expansionMichael Goulet-1/+1
2022-04-27Make [e]println macros eagerly drop temporaries (for backport)David Tolnay-1/+1
2022-03-16Rollup merge of #94868 - dtolnay:noblock, r=Dylan-DPCDylan DPC-1/+1
2022-03-12Fix rebase conflicts with stderr filesDevin Ragotzy-53/+160
2022-03-12Only filter doc(hidden) fields/variants when not crate localDevin Ragotzy-9/+65
2022-03-12Update output for doc hidden usefulness ui test outputDevin Ragotzy-62/+64
2022-03-12Add struct to doc hidden usefulness ui testsDevin Ragotzy-11/+35
2022-03-12Add struct to stability ui tests in usefulnessDevin Ragotzy-15/+60
2022-03-11Format core and std macro rules, removing needless surrounding blocksDavid Tolnay-1/+1
2022-03-08Do not suggest `let_else` if no bindings would be introducedEsteban Kuber-16/+0
2022-03-08Suggest `if let`/`let_else` for refutable pat in `let`Esteban Kuber-14/+38
2022-03-08Change wording of suggestion to add missing `match` armEsteban Kuber-146/+146
2022-03-08Point at uncovered variants in enum definition in `note` instead of a `span_l...Esteban Kuber-523/+654
2022-03-08When finding a match expr with multiple arms that requires more, suggest itEsteban Kuber-47/+235
2022-03-08When finding a match expr with a single arm that requires more, suggest itEsteban Kuber-76/+377
2022-03-08When encountering a match expr with no arms, suggest itEsteban Kuber-146/+181
2022-03-03Cleanup feature gates.Camille GILLOT-13/+12
2021-11-23Fix stack overflow in `usefulness.rs`Badel2-0/+14
2021-10-12Filter unstable and doc hidden variants in usefulness checkingDevin Ragotzy-0/+185
2021-10-01Rollup merge of #89441 - Nadrieril:fix-89393, r=tmandryManish Goregaokar-22/+56
2021-10-01Normalize after substituting via `field.ty()`Nadrieril-22/+56
2021-09-29Auto merge of #88950 - Nadrieril:deconstruct-pat, r=oli-obkbors-16/+95
2021-09-26Remove box syntax from most places in src/test outside of the issues direst31-9/+9
2021-09-26Replace `Pat` with a new intermediate representationNadrieril-14/+48
2021-09-26Rework `Fields` internals.Nadrieril-2/+2
2021-09-22Add testsNadrieril-0/+45
2021-08-30Handle irrufutable or unreachable let-elseCameron Steffen-12/+21
2021-08-16Don't mark `if_let_guard` as an incomplete featureLéo Lanteri Thauvin-5/+4
2021-08-15Introduce hir::ExprKind::Let - Take 2Caio-7/+5
2021-08-11Modify structured suggestion outputEsteban Küber-3/+3
2021-08-04Remove trailing whitespace from error messagesFabian Wolff-3/+3
2021-04-03Remove redundant `ignore-tidy-linelength` annotationsSimon Jakobi-4/+2
2021-02-18Add explanations and suggestions to `irrefutable_let_patterns` lintCamelid-4/+26
2021-02-17replace if-let and while-let with `if let` and `while let`Takayuki Maeda-4/+4
2021-02-13Add match pattern diagnostics regression testBram van den Heuvel-0/+29
2021-02-07Auto merge of #80632 - Nadrieril:fix-80501, r=varkorbors-0/+27
2021-02-06path trimming: ignore type aliasesDan Aloni-1/+1
2021-01-24Identify subpatterns by the path to them instead of spansNadrieril-21/+3
2021-01-24Add testsNadrieril-0/+45
2021-01-12Add tests for uninhabited typesNadrieril-212/+351
2021-01-12Deduplicate some tests using revisionsNadrieril-227/+74
2021-01-03Add notes to stderr of non-exhaustive-reference testDaniel Noom-2/+6
2021-01-03Add note to non-exhaustive match on reference to emptyDaniel Noom-0/+24
2020-12-22Add some testsNadrieril-28/+71