rust/src/test/ui/or-patterns
mark aee1e59e6f Simplify pattern grammar by allowing nested leading vert
Along the way, we also implement a handful of diagnostics improvements
and fixes, particularly with respect to the special handling of `||` in
place of `|` and when there are leading verts in function params, which
don't allow top-level or-patterns anyway.
2021-02-15 12:07:54 -06:00
..
already-bound-name.rs
already-bound-name.stderr
basic-switch.rs
basic-switchint.rs
bindings-runpass-1.rs
bindings-runpass-2.rs
box-patterns.rs test(pattern): add tests for combinations of pattern features 2020-03-04 01:17:41 -06:00
consistent-bindings.rs
const-fn.rs Update tests 2020-06-28 10:08:10 -07:00
exhaustiveness-non-exhaustive.rs Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
exhaustiveness-non-exhaustive.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
exhaustiveness-pass.rs
exhaustiveness-unreachable-pattern.rs Identify subpatterns by the path to them instead of spans 2021-01-24 20:28:30 +00:00
exhaustiveness-unreachable-pattern.stderr Identify subpatterns by the path to them instead of spans 2021-01-24 20:28:30 +00:00
feature-gate-or_patterns-leading-for.rs
feature-gate-or_patterns-leading-for.stderr
feature-gate-or_patterns-leading-let.rs
feature-gate-or_patterns-leading-let.stderr
feature-gate-or_patterns.rs
feature-gate-or_patterns.stderr Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
fn-param-wrap-parens.fixed Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
fn-param-wrap-parens.rs Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
fn-param-wrap-parens.stderr Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
for-loop.rs
if-let-while-let.rs
inconsistent-modes.rs resolve, inconsistent binding mode: tweak wording. 2020-03-04 03:58:52 +01:00
inconsistent-modes.stderr path trimming: ignore type aliases 2021-02-06 12:03:48 +02:00
issue-64879-trailing-before-guard.rs
issue-64879-trailing-before-guard.stderr
issue-67514-irrefutable-param.rs
issue-68785-irrefutable-param-with-at.rs
issue-69875-should-have-been-expanded-earlier-non-exhaustive.rs Matrix::push: recursively expand or-patterns 2020-03-10 17:46:19 +01:00
issue-69875-should-have-been-expanded-earlier-non-exhaustive.stderr Show the values and computation that would overflow a const evaluation or propagation 2020-06-26 10:08:52 +02:00
issue-69875-should-have-been-expanded-earlier.rs Matrix::push: recursively expand or-patterns 2020-03-10 17:46:19 +01:00
issue-70413-no-unreachable-pat-and-guard.rs Add tests based on issue #70372 comments 2020-03-26 12:34:36 -03:00
let-pattern.rs
macro-pat.rs move test to be with the others 2021-02-03 14:38:34 -06:00
mismatched-bindings-async-fn.rs Fix ICE for broken or-pattern in async fn 2020-04-19 18:17:31 +01:00
mismatched-bindings-async-fn.stderr resolve: Sort E0408 errors by Symbol str 2020-06-04 16:00:31 +01:00
missing-bindings.rs
missing-bindings.stderr
mix-with-wild.rs
multiple-pattern-typo.rs Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
multiple-pattern-typo.stderr Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
or-patterns-binding-type-mismatch.rs
or-patterns-binding-type-mismatch.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
or-patterns-default-binding-modes.rs
or-patterns-syntactic-fail-2018.rs implement edition-specific :pat behavior for 2015/18 2020-12-19 07:13:36 -06:00
or-patterns-syntactic-fail-2018.stderr implement edition-specific :pat behavior for 2015/18 2020-12-19 07:13:36 -06:00
or-patterns-syntactic-fail.rs Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
or-patterns-syntactic-fail.stderr Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
or-patterns-syntactic-pass-2021.rs implement edition-specific :pat behavior for 2015/18 2020-12-19 07:13:36 -06:00
or-patterns-syntactic-pass.rs
remove-leading-vert.fixed Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
remove-leading-vert.rs Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
remove-leading-vert.stderr Simplify pattern grammar by allowing nested leading vert 2021-02-15 12:07:54 -06:00
search-via-bindings.rs Fix #71977 2020-07-04 21:21:07 +01:00
slice-patterns.rs fix tidy error 2020-03-04 02:05:23 -06:00
struct-like.rs
while-parsing-this-or-pattern.rs
while-parsing-this-or-pattern.stderr