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