rust/tests/ui/or-patterns
Esteban Küber 6b2c6c7fd3 Detect ruby-style closure in parser
When parsing a closure without a body that is surrounded by a block,
suggest moving the opening brace after the closure head.

Fix #116608.
2023-10-12 21:50:18 +00: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
consistent-bindings.rs
const-fn.rs
exhaustiveness-non-exhaustive.rs
exhaustiveness-non-exhaustive.stderr
exhaustiveness-pass.rs
exhaustiveness-unreachable-pattern.rs
exhaustiveness-unreachable-pattern.stderr
fn-param-wrap-parens.fixed
fn-param-wrap-parens.rs
fn-param-wrap-parens.stderr
for-loop.rs
if-let-while-let.rs
inconsistent-modes.rs
inconsistent-modes.stderr
inner-or-pat.or3.stderr
inner-or-pat.or4.stderr
inner-or-pat.rs
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
issue-69875-should-have-been-expanded-earlier-non-exhaustive.stderr
issue-69875-should-have-been-expanded-earlier.rs
issue-70413-no-unreachable-pat-and-guard.rs
let-pattern.rs
macro-pat.rs
mismatched-bindings-async-fn.rs
mismatched-bindings-async-fn.stderr
missing-bindings.rs
missing-bindings.stderr
mix-with-wild.rs
multiple-pattern-typo.rs
multiple-pattern-typo.stderr
nested-undelimited-precedence.rs
nested-undelimited-precedence.stderr
or-patterns-binding-type-mismatch.rs
or-patterns-binding-type-mismatch.stderr
or-patterns-default-binding-modes.rs
or-patterns-syntactic-fail-2018.rs
or-patterns-syntactic-fail-2018.stderr
or-patterns-syntactic-fail.rs
or-patterns-syntactic-fail.stderr
or-patterns-syntactic-pass-2021.rs
or-patterns-syntactic-pass.rs
or-patterns-syntactic-pass.stderr
remove-leading-vert.fixed
remove-leading-vert.rs
remove-leading-vert.stderr
search-via-bindings.rs
slice-patterns.rs
struct-like.rs
while-parsing-this-or-pattern.rs
while-parsing-this-or-pattern.stderr