rust/tests/ui/or-patterns
Esteban Küber 692bc344d5 Make parse error suggestions verbose and fix spans
Go over all structured parser suggestions and make them verbose style.

When suggesting to add or remove delimiters, turn them into multiple suggestion parts.
2024-07-12 03:02:57 +00:00
..
already-bound-name.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
already-bound-name.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
basic-switch.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
basic-switchint.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bindings-runpass-1.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
bindings-runpass-2.rs Add tests 2024-06-16 18:23:48 +02:00
box-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
consistent-bindings.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
const-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
exhaustiveness-non-exhaustive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
exhaustiveness-non-exhaustive.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
exhaustiveness-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
exhaustiveness-unreachable-pattern.rs Consistently warn unreachable subpatterns 2024-01-18 17:29:54 +01:00
exhaustiveness-unreachable-pattern.stderr Consistently warn unreachable subpatterns 2024-01-18 17:29:54 +01:00
fn-param-wrap-parens.fixed [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-param-wrap-parens.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
fn-param-wrap-parens.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
for-loop.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
if-let-while-let.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
inconsistent-modes.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
inconsistent-modes.stderr recurse into refs when comparing tys for diagnostics 2023-12-07 23:00:46 -05:00
inner-or-pat.or3.stderr Add tests 2024-06-16 18:23:48 +02:00
inner-or-pat.or4.stderr Add tests 2024-06-16 18:23:48 +02:00
inner-or-pat.rs Add tests 2024-06-16 18:23:48 +02:00
issue-64879-trailing-before-guard.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-64879-trailing-before-guard.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
issue-67514-irrefutable-param.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-68785-irrefutable-param-with-at.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-69875-should-have-been-expanded-earlier-non-exhaustive.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
issue-69875-should-have-been-expanded-earlier-non-exhaustive.stderr Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
issue-69875-should-have-been-expanded-earlier.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
issue-70413-no-unreachable-pat-and-guard.rs Add tests 2024-06-16 18:23:48 +02:00
let-pattern.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
macro-pat.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mismatched-bindings-async-fn.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
mismatched-bindings-async-fn.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
missing-bindings.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bindings.stderr Continue to borrowck even if there were previous errors 2024-02-08 08:10:43 +00:00
mix-with-wild.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
multiple-pattern-typo.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
multiple-pattern-typo.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
nested-undelimited-precedence.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
nested-undelimited-precedence.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
or-patterns-binding-type-mismatch.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or-patterns-binding-type-mismatch.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or-patterns-default-binding-modes.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
or-patterns-syntactic-fail-2018.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
or-patterns-syntactic-fail-2018.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
or-patterns-syntactic-fail.rs Rip it out 2023-05-01 16:15:13 +08:00
or-patterns-syntactic-fail.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
or-patterns-syntactic-pass-2021.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
or-patterns-syntactic-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
or-patterns-syntactic-pass.stderr Bless tests 2024-01-13 12:46:58 -05:00
remove-leading-vert.fixed Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
remove-leading-vert.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
remove-leading-vert.stderr Make parse error suggestions verbose and fix spans 2024-07-12 03:02:57 +00:00
search-via-bindings.rs Add tests 2024-06-16 18:23:48 +02:00
simplification_subtleties.rs Add tests 2024-06-16 18:23:48 +02:00
slice-patterns.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
struct-like.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
while-parsing-this-or-pattern.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
while-parsing-this-or-pattern.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00