rust/tests/ui/pattern
2025-06-11 15:30:15 +01:00
..
auxiliary Move some tests out of tests/ui 2025-05-03 17:22:52 +02:00
bindings-after-at Auto merge of #139949 - matthiaskrgr:rollup-pxc5tsx, r=matthiaskrgr 2025-04-17 11:21:54 +00:00
deref-patterns error early when mixing deref patterns with normal constructors 2025-05-06 18:53:55 -07:00
move-ref-patterns
rfc-3627-match-ergonomics-2024 compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
rfc-3637-guard-patterns Rollup merge of #141267 - dianne:fix-141265, r=oli-obk 2025-05-21 15:38:08 +02:00
usefulness Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02:00
at-in-struct-patterns.rs
at-in-struct-patterns.stderr
box-pattern-type-mismatch.rs
box-pattern-type-mismatch.stderr
by-move-pattern-binding.rs
by-move-pattern-binding.stderr
byte-string-inference.rs
byte-string-mutability-mismatch.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
byte-string-mutability-mismatch.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
check-struct-pat-fields-stability-issue-138319.rs Pass precise HirId when calling check_stability 2025-03-14 14:51:58 +08:00
check-struct-pat-fields-stability-issue-138319.stderr Pass precise HirId when calling check_stability 2025-03-14 14:51:58 +08:00
complexity_limit.rs Rename pattern_complexity attr as pattern_complexity_limit. 2025-02-17 09:30:40 +11:00
complexity_limit.stderr
cross-crate-enum-pattern.rs Move some tests out of tests/ui 2025-05-03 17:22:52 +02:00
fn-in-pat.rs
fn-in-pat.stderr
for-loop-bad-item.rs
for-loop-bad-item.stderr
ignore-all-the-things.rs
inc-range-pat.rs
incorrect-placement-of-pattern-modifiers.fixed
incorrect-placement-of-pattern-modifiers.rs
incorrect-placement-of-pattern-modifiers.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
integer-range-binding.rs
issue-6449.rs Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02:00
issue-8351-1.rs
issue-8351-2.rs
issue-10392.rs
issue-11577.rs
issue-12582.rs
issue-14221.rs Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02:00
issue-14221.stderr
issue-15080.rs
issue-17718-patterns.rs
issue-17718-patterns.stderr
issue-22546.rs Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02:00
issue-22546.stderr
issue-27320.rs
issue-28992-empty.rs
issue-28992-empty.stderr
issue-52240.rs
issue-52240.stderr
issue-66270-pat-struct-parser-recovery.rs
issue-66270-pat-struct-parser-recovery.stderr
issue-67037-pat-tup-scrut-ty-diff-less-fields.rs
issue-67037-pat-tup-scrut-ty-diff-less-fields.stderr
issue-67776-match-same-name-enum-variant-refs.rs
issue-67776-match-same-name-enum-variant-refs.stderr
issue-72565.rs
issue-72565.stderr
issue-72574-1.rs
issue-72574-1.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-72574-2.rs
issue-72574-2.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-74539.rs
issue-74539.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-74702.rs
issue-74702.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-74954.rs
issue-80186-mut-binding-help-suggestion.rs
issue-80186-mut-binding-help-suggestion.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
issue-88074-pat-range-type-inference-err.rs
issue-88074-pat-range-type-inference-err.stderr
issue-88074-pat-range-type-inference.rs
issue-92074-macro-ice.rs
issue-92074-macro-ice.stderr
issue-94866.rs
issue-94866.stderr
issue-95878.rs
issue-95878.stderr
issue-106552.rs
issue-106552.stderr
issue-106862.fixed
issue-106862.rs
issue-106862.stderr
issue-110508.rs Handle all PatExprs in dead code analysis 2025-01-29 15:45:13 +00:00
issue-115599.rs
issue-115599.stderr
issue-117626.rs
missing_lifetime.rs Use non-2015 edition paths in tests that do not test for their resolution 2025-06-03 13:35:31 +02:00
missing_lifetime.stderr
mut-ref-mut-2021.rs
mut-ref-mut-2021.stderr
mut_preserve_binding_mode_2021.rs
mut_preserve_binding_mode_2021.stderr
mut_preserve_binding_mode_2024.rs
no-match-tuple-variant-self-ctor.rs
no-match-tuple-variant-self-ctor.struct_.stderr
no-match-tuple-variant-self-ctor.tuple.stderr
no-patterns-in-args-2.rs
no-patterns-in-args-2.stderr
no-patterns-in-args.rs
no-patterns-in-args.stderr
non-constant-in-const-path.rs
non-constant-in-const-path.stderr
non-structural-match-types-cycle-err.rs borrowck typeck children together with their parent 2025-04-08 00:34:40 +02:00
non-structural-match-types-cycle-err.stderr borrowck typeck children together with their parent 2025-04-08 00:34:40 +02:00
non-structural-match-types.rs borrowck typeck children together with their parent 2025-04-08 00:34:40 +02:00
non-structural-match-types.stderr borrowck typeck children together with their parent 2025-04-08 00:34:40 +02:00
normalize-ty-in-range.rs Structurally resolve in check_ref_cast and calc_adjust_mode 2025-05-08 15:00:17 +00:00
overflowing-literals.rs Uniformly handle HIR literals in visitors and lints 2025-02-05 11:28:24 +00:00
overflowing-literals.stderr Uniformly handle HIR literals in visitors and lints 2025-02-05 11:28:24 +00:00
pat-shadow-in-nested-binding.rs
pat-shadow-in-nested-binding.stderr
pat-struct-field-expr-has-type.rs
pat-struct-field-expr-has-type.stderr
pat-tuple-bad-type.rs
pat-tuple-bad-type.stderr
pat-tuple-field-count-cross.rs
pat-tuple-field-count-cross.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
pat-tuple-overfield.rs
pat-tuple-overfield.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
pat-tuple-underfield.rs
pat-tuple-underfield.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
pat-type-err-formal-param.rs
pat-type-err-formal-param.stderr
pat-type-err-let-stmt.rs
pat-type-err-let-stmt.stderr
patkind-litrange-no-expr.rs Rename PatKind::Lit to Expr 2025-01-08 07:34:59 +00:00
patkind-litrange-no-expr.stderr
patkind-ref-binding-issue-114896.fixed UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
patkind-ref-binding-issue-114896.rs UI tests: add missing diagnostic kinds where possible 2025-04-08 23:06:31 +03:00
patkind-ref-binding-issue-114896.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
patkind-ref-binding-issue-122415.fixed
patkind-ref-binding-issue-122415.rs
patkind-ref-binding-issue-122415.stderr Trim suggestion parts to the subset that is purely additive 2025-02-14 00:44:10 -08:00
pattern-bad-ref-box-order.fixed
pattern-bad-ref-box-order.rs
pattern-bad-ref-box-order.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
pattern-binding-disambiguation.rs
pattern-binding-disambiguation.stderr
pattern-error-continue.rs compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
pattern-error-continue.stderr compiletest: Make diagnostic kind mandatory on line annotations 2025-04-30 10:44:24 +03:00
pattern-ident-path-generics.rs
pattern-ident-path-generics.stderr
pattern-match-arc-move.rs cleaned up some tests 2025-06-03 07:38:06 +05:00
pattern-match-invalid-variant.rs cleaned up some tests 2025-06-03 07:38:06 +05:00
pattern-match-invalid-variant.stderr cleaned up some tests 2025-06-03 07:38:06 +05:00
pattern-tyvar-2.rs
pattern-tyvar-2.stderr
pattern-tyvar.rs
pattern-tyvar.stderr
patterns-dont-match-nt-statement.rs
range-pattern-meant-to-be-slice-rest-pattern.rs
range-pattern-meant-to-be-slice-rest-pattern.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
rest-pat-semantic-disallowed.rs
rest-pat-semantic-disallowed.stderr
rest-pat-syntactic.rs Use cfg(false) in UI tests 2025-04-03 21:41:58 +00:00
rest-pat-syntactic.stderr
self-ctor-133272.rs
self-ctor-133272.stderr
size-and-align.rs
skipped-ref-pats-issue-125058.rs
skipped-ref-pats-issue-125058.stderr
slice-array-infer.rs stabilize gai 2025-06-11 15:30:15 +01:00
slice-pattern-refutable.rs
slice-pattern-refutable.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
slice-patterns-ambiguity.rs
slice-patterns-ambiguity.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
slice-patterns-irrefutable.rs
slice-patterns-irrefutable.stderr
slice-patterns-nested.rs
struct-parser-recovery-issue-126344.rs
struct-parser-recovery-issue-126344.stderr
struct-pattern-on-non-struct-resolve-error.rs
struct-pattern-on-non-struct-resolve-error.stderr
struct-pattern-with-missing-fields-resolve-error.rs
struct-pattern-with-missing-fields-resolve-error.stderr
suggest-adding-appropriate-missing-pattern-excluding-comments.fixed
suggest-adding-appropriate-missing-pattern-excluding-comments.rs
suggest-adding-appropriate-missing-pattern-excluding-comments.stderr
type_mismatch.rs
type_mismatch.stderr
uninit-trivial.rs Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ub 2025-04-08 21:05:20 +00:00
uninit-trivial.stderr Do not optimize out SwitchInt before borrowck, or if Zmir-preserve-ub 2025-04-08 21:05:20 +00:00
unused-parameters-const-pattern.rs Add test/comment about const patterns with unused params 2025-05-22 12:52:46 +01:00