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