@@ -16,53 +16,77 @@ error: this pattern is unneeded as the `..` pattern can match that element
16
16
LL | if let (0, _, ..) = t {};
17
17
| ^^^ help: remove it
18
18
19
+ error: this pattern is unneeded as the `..` pattern can match that element
20
+ --> $DIR/unneeded_wildcard_pattern.rs:10:13
21
+ |
22
+ LL | if let (_, .., 0) = t {};
23
+ | ^^^ help: remove it
24
+
25
+ error: this pattern is unneeded as the `..` pattern can match that element
26
+ --> $DIR/unneeded_wildcard_pattern.rs:11:15
27
+ |
28
+ LL | if let (.., _, 0) = t {};
29
+ | ^^^ help: remove it
30
+
19
31
error: these patterns are unneeded as the `..` pattern can match those elements
20
- --> $DIR/unneeded_wildcard_pattern.rs:10 :16
32
+ --> $DIR/unneeded_wildcard_pattern.rs:12 :16
21
33
|
22
34
LL | if let (0, _, _, ..) = t {};
23
35
| ^^^^^^ help: remove them
24
36
25
37
error: these patterns are unneeded as the `..` pattern can match those elements
26
- --> $DIR/unneeded_wildcard_pattern.rs:11 :18
38
+ --> $DIR/unneeded_wildcard_pattern.rs:13 :18
27
39
|
28
40
LL | if let (0, .., _, _) = t {};
29
41
| ^^^^^^ help: remove them
30
42
31
43
error: these patterns are unneeded as the `..` pattern can match those elements
32
- --> $DIR/unneeded_wildcard_pattern.rs:20 :22
44
+ --> $DIR/unneeded_wildcard_pattern.rs:22 :22
33
45
|
34
46
LL | if let (0, .., _, _,) = t {};
35
47
| ^^^^^^ help: remove them
36
48
37
49
error: this pattern is unneeded as the `..` pattern can match that element
38
- --> $DIR/unneeded_wildcard_pattern.rs:27 :19
50
+ --> $DIR/unneeded_wildcard_pattern.rs:29 :19
39
51
|
40
52
LL | if let S(0, .., _) = s {};
41
53
| ^^^ help: remove it
42
54
43
55
error: this pattern is unneeded as the `..` pattern can match that element
44
- --> $DIR/unneeded_wildcard_pattern.rs:28 :17
56
+ --> $DIR/unneeded_wildcard_pattern.rs:30 :17
45
57
|
46
58
LL | if let S(0, _, ..) = s {};
47
59
| ^^^ help: remove it
48
60
61
+ error: this pattern is unneeded as the `..` pattern can match that element
62
+ --> $DIR/unneeded_wildcard_pattern.rs:31:14
63
+ |
64
+ LL | if let S(_, .., 0) = s {};
65
+ | ^^^ help: remove it
66
+
67
+ error: this pattern is unneeded as the `..` pattern can match that element
68
+ --> $DIR/unneeded_wildcard_pattern.rs:32:16
69
+ |
70
+ LL | if let S(.., _, 0) = s {};
71
+ | ^^^ help: remove it
72
+
49
73
error: these patterns are unneeded as the `..` pattern can match those elements
50
- --> $DIR/unneeded_wildcard_pattern.rs:29 :17
74
+ --> $DIR/unneeded_wildcard_pattern.rs:33 :17
51
75
|
52
76
LL | if let S(0, _, _, ..) = s {};
53
77
| ^^^^^^ help: remove them
54
78
55
79
error: these patterns are unneeded as the `..` pattern can match those elements
56
- --> $DIR/unneeded_wildcard_pattern.rs:30 :19
80
+ --> $DIR/unneeded_wildcard_pattern.rs:34 :19
57
81
|
58
82
LL | if let S(0, .., _, _) = s {};
59
83
| ^^^^^^ help: remove them
60
84
61
85
error: these patterns are unneeded as the `..` pattern can match those elements
62
- --> $DIR/unneeded_wildcard_pattern.rs:39 :23
86
+ --> $DIR/unneeded_wildcard_pattern.rs:43 :23
63
87
|
64
88
LL | if let S(0, .., _, _,) = s {};
65
89
| ^^^^^^ help: remove them
66
90
67
- error: aborting due to 10 previous errors
91
+ error: aborting due to 14 previous errors
68
92
0 commit comments