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 Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
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 Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
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 Perform match checking on THIR. 2023-04-03 15:59:21 +00:00
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 Replace HashMap with IndexMap in pattern binding resolve 2023-10-02 19:12:42 +02:00
mix-with-wild.rs
multiple-pattern-typo.rs
multiple-pattern-typo.stderr
nested-undelimited-precedence.rs
nested-undelimited-precedence.stderr Modify primary span label for E0308 2023-01-30 20:12:19 +00:00
or-patterns-binding-type-mismatch.rs
or-patterns-binding-type-mismatch.stderr
or-patterns-default-binding-modes.rs Rename drop_ref lint to dropping_references 2023-05-21 14:16:41 +02:00
or-patterns-syntactic-fail-2018.rs
or-patterns-syntactic-fail-2018.stderr
or-patterns-syntactic-fail.rs Rip it out 2023-05-01 16:15:13 +08:00
or-patterns-syntactic-fail.stderr Detect ruby-style closure in parser 2023-10-12 21:50:18 +00:00
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