summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-15260.stderr
blob: 4a3041122b26d413b32eb8664b521e172d5db498 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
error[E0025]: field `a` bound multiple times in the pattern
  --> $DIR/issue-15260.rs:8:9
   |
LL |         a: _,
   |         ---- first use of `a`
LL |         a: _
   |         ^^^^ multiple uses of `a` in pattern

error[E0025]: field `a` bound multiple times in the pattern
  --> $DIR/issue-15260.rs:14:9
   |
LL |         a,
   |         - first use of `a`
LL |         a: _
   |         ^^^^ multiple uses of `a` in pattern

error[E0025]: field `a` bound multiple times in the pattern
  --> $DIR/issue-15260.rs:20:9
   |
LL |         a,
   |         - first use of `a`
LL |         a: _,
   |         ^^^^ multiple uses of `a` in pattern

error[E0025]: field `a` bound multiple times in the pattern
  --> $DIR/issue-15260.rs:22:9
   |
LL |         a,
   |         - first use of `a`
...
LL |         a: x
   |         ^^^^ multiple uses of `a` in pattern

error: aborting due to 4 previous errors

For more information about this error, try `rustc --explain E0025`.