rust/tests/ui/or-patterns
2025-11-27 14:13:58 -05:00
..
already-bound-name.rs
already-bound-name.stderr
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
binding-typo-2.rs Gate 2018 UI tests 2025-11-27 14:13:58 -05:00
binding-typo-2.stderr Gate 2015 UI tests 2025-11-27 11:19:00 -05:00
binding-typo.fixed On unused binding in pattern, suggest unit struct/variant with similar name 2025-08-30 16:24:26 +00:00
binding-typo.rs On unused binding in pattern, suggest unit struct/variant with similar name 2025-08-30 16:24:26 +00:00
binding-typo.stderr On unused binding in pattern, suggest unit struct/variant with similar name 2025-08-30 16:24:26 +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 show a trailing comma on singleton tuple constructors in witness pats 2025-08-10 15:32:14 -07:00
exhaustiveness-non-exhaustive.stderr show a trailing comma on singleton tuple constructors in witness pats 2025-08-10 15:32:14 -07:00
exhaustiveness-pass.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
exhaustiveness-unreachable-pattern.rs Explain why a given pattern is considered unreachable 2024-07-24 08:02:55 +02:00
exhaustiveness-unreachable-pattern.stderr Reword the "unreachable pattern" explanations 2024-08-19 21:39:57 +02:00
fn-param-wrap-parens.fixed Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09:00
fn-param-wrap-parens.rs Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09:00
fn-param-wrap-parens.stderr Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09: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
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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
issue-64879-trailing-before-guard.fixed Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +00:00
issue-64879-trailing-before-guard.rs Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +00:00
issue-64879-trailing-before-guard.stderr Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +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
issue-69875-should-have-been-expanded-earlier-non-exhaustive.stderr Update tests for new TRPL chapter order 2024-11-23 08:57:25 -07: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
lazy-and-or.rs Cleaned up 5 tests in tests/ui 2025-04-21 16:16:38 +09: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 Avoid unnecessary suggestion in or-pattern 2025-08-30 17:44:23 +00:00
missing-bindings.rs [AUTO-GENERATED] Migrate ui tests from // to //@ directives 2024-02-16 20:02:50 +00:00
missing-bindings.stderr On binding not present in all patterns, suggest potential typo 2025-08-25 15:16:25 +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
multiple-pattern-typo.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
nested-undelimited-precedence.rs Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09:00
nested-undelimited-precedence.stderr Avoid unnecessary suggestion in or-pattern 2025-08-30 17:44:23 +00:00
or-patterns-binding-type-mismatch.rs
or-patterns-binding-type-mismatch.stderr
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 Tweak more warnings. 2024-10-28 14:20:28 +11:00
or-patterns-syntactic-fail-2018.stderr Tweak more warnings. 2024-10-28 14:20:28 +11:00
or-patterns-syntactic-fail.rs Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09:00
or-patterns-syntactic-fail.stderr Error message for top-level or-patterns suggesting a solution 2025-05-09 22:16:34 +09: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 Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
or-patterns-syntactic-pass.stderr Bless tests 2024-01-13 12:46:58 -05:00
remove-leading-vert.fixed Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +00:00
remove-leading-vert.rs Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +00:00
remove-leading-vert.stderr Include whitespace in "remove |" suggestion and make it hidden 2025-08-04 18:06:18 +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 UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
while-parsing-this-or-pattern.stderr Show number in error message even for one error 2023-11-24 19:15:52 +01:00