rust/src/test/ui/pattern/usefulness
Nadrieril d93c1b320c Introduce new FixedLenSlice constructor
It is used in the case where a variable-length slice pattern is used to
match on an array of known size. This allows considering only those
entries in the array that are captured by one of the patterns.
As a side-effect, diagnostics improve a bit for those cases.
2019-11-16 16:43:20 +00:00
..
always-inhabited-union-ref.rs
always-inhabited-union-ref.stderr
exhaustive_integer_patterns.rs Add regression test 2019-11-15 16:55:38 +00:00
exhaustive_integer_patterns.stderr Add test for failing try_eval_bits 2019-11-15 16:55:37 +00:00
guards-not-exhaustive.rs
irrefutable-exhaustive-integer-binding.rs
irrefutable-unit.rs
issue-35609.rs
issue-35609.stderr
issue-43253.rs
issue-43253.stderr
match-arm-statics-2.rs
match-arm-statics-2.stderr
match-arm-statics.rs
match-arm-statics.stderr
match-byte-array-patterns-2.rs
match-byte-array-patterns-2.stderr Introduce new FixedLenSlice constructor 2019-11-16 16:43:20 +00:00
match-byte-array-patterns.rs
match-byte-array-patterns.stderr
match-non-exhaustive.rs
match-non-exhaustive.stderr
match-privately-empty.rs
match-privately-empty.stderr
match-range-fail-dominate.rs
match-range-fail-dominate.stderr
match-ref-ice.rs
match-ref-ice.stderr
match-slice-patterns.rs Use VarLenSlice consistently when splitting constructors 2019-11-05 18:32:26 +00:00
match-slice-patterns.stderr Use VarLenSlice consistently when splitting constructors 2019-11-05 18:32:26 +00:00
match-vec-fixed.rs
match-vec-fixed.stderr
match-vec-unreachable.rs
match-vec-unreachable.stderr
nested-exhaustive-match.rs
non-exhaustive-defined-here.rs
non-exhaustive-defined-here.stderr
non-exhaustive-float-range-match.rs
non-exhaustive-float-range-match.stderr
non-exhaustive-match-nested.rs
non-exhaustive-match-nested.stderr
non-exhaustive-match.rs Make exhaustiveness error message more consistent for slice patterns 2019-11-05 17:59:01 +00:00
non-exhaustive-match.stderr Make exhaustiveness error message more consistent for slice patterns 2019-11-05 17:59:01 +00:00
non-exhaustive-pattern-witness.rs
non-exhaustive-pattern-witness.stderr
refutable-pattern-errors.rs
refutable-pattern-errors.stderr
refutable-pattern-in-fn-arg.rs
refutable-pattern-in-fn-arg.stderr
slice-pattern-const-2.rs Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-pattern-const-2.stderr Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-pattern-const-3.rs Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-pattern-const-3.stderr Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-pattern-const.rs Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-pattern-const.stderr Move a few more tests to the usefulness/ folder 2019-11-05 18:40:55 +00:00
slice-patterns-exhaustiveness.rs Introduce new FixedLenSlice constructor 2019-11-16 16:43:20 +00:00
slice-patterns-exhaustiveness.stderr Introduce new FixedLenSlice constructor 2019-11-16 16:43:20 +00:00
slice-patterns-irrefutable.rs Split slice-patterns test as suggested by Centril 2019-11-06 15:27:21 +00:00
slice-patterns-reachability.rs Split slice-patterns test as suggested by Centril 2019-11-06 15:27:21 +00:00
slice-patterns-reachability.stderr Split slice-patterns test as suggested by Centril 2019-11-06 15:27:21 +00:00
struct-like-enum-nonexhaustive.rs
struct-like-enum-nonexhaustive.stderr
struct-pattern-match-useless.rs
struct-pattern-match-useless.stderr
tuple-struct-nonexhaustive.rs
tuple-struct-nonexhaustive.stderr