]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-54379.stderr
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / resolve / issue-54379.stderr
1 error: expected `}`, found `,`
2   --> $DIR/issue-54379.rs:9:22
3    |
4 LL |         MyStruct { .., Some(_) } => {},
5    |                    --^
6    |                    | |
7    |                    | expected `}`
8    |                    `..` must be at the end and cannot have a trailing comma
9
10 error: expected `,`
11   --> $DIR/issue-54379.rs:9:28
12    |
13 LL |         MyStruct { .., Some(_) } => {},
14    |         --------           ^
15    |         |
16    |         while parsing the fields for this pattern
17
18 error: aborting due to 2 previous errors
19