rust/src/test/ui/pattern/usefulness
2022-07-01 17:39:19 +02:00
..
auxiliary Add struct to doc hidden usefulness ui tests 2022-03-12 15:15:22 -05:00
integer-ranges Be more hygenic with spans 2022-06-19 16:47:21 -07:00
always-inhabited-union-ref.rs Update tests for erasing regions in typeck 2020-03-17 09:07:56 +00:00
always-inhabited-union-ref.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
const-pat-ice.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
const-private-fields.rs Add tests 2021-09-22 17:38:46 +01:00
consts-opaque.rs Add some tests 2020-12-22 15:20:23 +00:00
consts-opaque.stderr Replace Pat with a new intermediate representation 2021-09-26 00:30:38 +01:00
deny-irrefutable-let-patterns.rs Don't mark if_let_guard as an incomplete feature 2021-08-16 17:10:31 +02:00
deny-irrefutable-let-patterns.stderr Don't mark if_let_guard as an incomplete feature 2021-08-16 17:10:31 +02:00
doc-hidden-fields.rs Fix rebase conflicts with stderr files 2022-03-12 15:38:44 -05:00
doc-hidden-fields.stderr Fix rebase conflicts with stderr files 2022-03-12 15:38:44 -05:00
doc-hidden-non-exhaustive.rs Only filter doc(hidden) fields/variants when not crate local 2022-03-12 15:16:11 -05:00
doc-hidden-non-exhaustive.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
empty-match.exhaustive_patterns.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
empty-match.normal.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
empty-match.rs Add tests for uninhabited types 2021-01-12 19:59:10 +00:00
floats.rs Improve integer range tests 2020-11-21 01:38:42 +00:00
floats.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
guards.rs Improve integer range tests 2020-11-21 01:38:42 +00:00
guards.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
irrefutable-let-patterns.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
irrefutable-unit.rs
issue-2111.rs Keep all witnesses of non-exhaustiveness 2020-12-18 16:21:38 +00:00
issue-2111.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-3096-1.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-3096-1.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-3096-2.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-3096-2.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-3601.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-3601.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
issue-4321.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-4321.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-12116.rs Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-12116.stderr Remove box syntax from most places in src/test outside of the issues dir 2021-09-26 04:07:44 +02:00
issue-12369.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-12369.stderr Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-13727.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-13727.stderr Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-15129.rs Keep all witnesses of non-exhaustiveness 2020-12-18 16:21:38 +00:00
issue-15129.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-30240-b.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-30240-b.stderr Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-30240-rpass.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-30240.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-30240.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-31221.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-31221.stderr Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-31561.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-31561.stderr Suggest if let/let_else for refutable pat in let 2022-03-08 16:32:08 +00:00
issue-35609.rs
issue-35609.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
issue-39362.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-39362.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-40221.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-40221.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-50900.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-50900.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-53820-slice-pattern-large-array.rs slice_patterns: organize some tests 2020-01-18 19:33:47 +01:00
issue-56379.rs Keep all witnesses of non-exhaustiveness 2020-12-18 16:21:38 +00:00
issue-56379.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-57472.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-57472.stderr Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-65413-constants-and-slices-exhaustiveness.rs slice_patterns: organize some tests 2020-01-18 19:33:47 +01:00
issue-66501.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
issue-71930-type-of-match-scrutinee.rs We don't use tyerr anymore 2020-05-17 17:38:23 +01:00
issue-72377.rs Add match pattern diagnostics regression test 2021-02-13 14:13:14 +01:00
issue-72377.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-72476-and-89393-associated-type.rs Normalize after substituting via field.ty() 2021-10-01 19:45:19 +01:00
issue-78123-non-exhaustive-reference.rs Point at uncovered variants in enum definition in note instead of a span_label 2022-03-08 00:19:08 +00:00
issue-78123-non-exhaustive-reference.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
issue-78549-ref-pat-and-str.rs Fix #78549 2020-11-01 02:04:42 +00:00
issue-80501-or-pat-and-macro.rs Identify subpatterns by the path to them instead of spans 2021-01-24 20:28:30 +00:00
issue-82772-match-box-as-struct.rs Add tests 2021-09-22 17:38:46 +01:00
issue-82772-match-box-as-struct.stderr Add tests 2021-09-22 17:38:46 +01:00
issue-88747.rs Fix stack overflow in usefulness.rs 2021-11-23 23:07:11 +01:00
match-arm-statics-2.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
match-arm-statics-2.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
match-arm-statics.rs
match-arm-statics.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
match-byte-array-patterns-2.rs
match-byte-array-patterns-2.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
match-byte-array-patterns.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
match-byte-array-patterns.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
match-non-exhaustive.rs
match-non-exhaustive.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
match-privately-empty.rs tests: remove ignore directives from tests that mention core/alloc/std spans. 2020-04-02 11:48:34 +03:00
match-privately-empty.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
match-ref-ice.rs
match-ref-ice.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
match-slice-patterns.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
match-slice-patterns.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
match-vec-fixed.rs
match-vec-fixed.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
match-vec-unreachable.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
match-vec-unreachable.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
nested-exhaustive-match.rs
non-exhaustive-defined-here.rs Point at uncovered variants in enum definition in note instead of a span_label 2022-03-08 00:19:08 +00:00
non-exhaustive-defined-here.stderr Do not suggest let_else if no bindings would be introduced 2022-03-08 17:20:05 +00:00
non-exhaustive-match-nested.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
non-exhaustive-match-nested.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
non-exhaustive-match.rs Keep all witnesses of non-exhaustiveness 2020-12-18 16:21:38 +00:00
non-exhaustive-match.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
non-exhaustive-pattern-witness.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
non-exhaustive-pattern-witness.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
refutable-pattern-errors.rs Remove redundant ignore-tidy-linelength annotations 2021-04-03 22:30:20 +02:00
refutable-pattern-errors.stderr Do not suggest let_else if no bindings would be introduced 2022-03-08 17:20:05 +00:00
refutable-pattern-in-fn-arg.rs
refutable-pattern-in-fn-arg.stderr non-exhastive diagnostic: add note re. scrutinee type 2020-03-27 06:49:07 +01:00
slice-pattern-const-2.rs Implement destructuring for all aggregates and for references 2020-09-20 13:28:18 +02:00
slice-pattern-const-2.stderr Implement destructuring for all aggregates and for references 2020-09-20 13:28:18 +02:00
slice-pattern-const-3.rs Implement destructuring for all aggregates and for references 2020-09-20 13:28:18 +02:00
slice-pattern-const-3.stderr Implement destructuring for all aggregates and for references 2020-09-20 13:28:18 +02:00
slice-pattern-const.rs Add some tests 2019-11-21 11:20:46 +00:00
slice-pattern-const.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
slice-patterns-exhaustiveness.rs Implement destructuring for all aggregates and for references 2020-09-20 13:28:18 +02:00
slice-patterns-exhaustiveness.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
slice-patterns-irrefutable.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
slice-patterns-reachability.rs slice_patterns: remove gates in tests 2020-01-18 19:33:47 +01:00
slice-patterns-reachability.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
stable-gated-fields.rs Add struct to stability ui tests in usefulness 2022-03-12 15:02:42 -05:00
stable-gated-fields.stderr Fix rebase conflicts with stderr files 2022-03-12 15:38:44 -05:00
stable-gated-patterns.rs Add struct to stability ui tests in usefulness 2022-03-12 15:02:42 -05:00
stable-gated-patterns.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00
struct-like-enum-nonexhaustive.rs
struct-like-enum-nonexhaustive.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
struct-pattern-match-useless.rs
struct-pattern-match-useless.stderr Normalise notes with the/is 2020-01-24 16:24:50 +00:00
top-level-alternation.rs Handle irrufutable or unreachable let-else 2021-08-30 20:18:43 -05:00
top-level-alternation.stderr Handle irrufutable or unreachable let-else 2021-08-30 20:18:43 -05:00
tuple-struct-nonexhaustive.rs
tuple-struct-nonexhaustive.stderr Only omit trailing comma if block doesn't come from macro expansion 2022-06-19 16:46:37 -07:00
type_polymorphic_byte_str_literals.rs Regroup many usefulness-related test in the same folder 2020-11-19 19:52:54 +00:00
type_polymorphic_byte_str_literals.stderr Change wording of suggestion to add missing match arm 2022-03-08 00:20:41 +00:00
uninhabited.rs Add tests for uninhabited types 2021-01-12 19:59:10 +00:00
unstable-gated-fields.rs Add struct to stability ui tests in usefulness 2022-03-12 15:02:42 -05:00
unstable-gated-fields.stderr Fix rebase conflicts with stderr files 2022-03-12 15:38:44 -05:00
unstable-gated-patterns.rs Add struct to stability ui tests in usefulness 2022-03-12 15:02:42 -05:00
unstable-gated-patterns.stderr Shorten def_span for more items. 2022-07-01 17:39:19 +02:00