]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/rest_pat_in_fully_bound_structs.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / rest_pat_in_fully_bound_structs.stderr
CommitLineData
f20569fa
XL
1error: unnecessary use of `..` pattern in struct binding. All fields were already bound
2 --> $DIR/rest_pat_in_fully_bound_structs.rs:22:9
3 |
4LL | A { a: 5, b: 42, c: "", .. } => {}, // Lint
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `-D clippy::rest-pat-in-fully-bound-structs` implied by `-D warnings`
8 = help: consider removing `..` from this binding
9
10error: unnecessary use of `..` pattern in struct binding. All fields were already bound
11 --> $DIR/rest_pat_in_fully_bound_structs.rs:23:9
12 |
13LL | A { a: 0, b: 0, c: "", .. } => {}, // Lint
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
15 |
16 = help: consider removing `..` from this binding
17
18error: unnecessary use of `..` pattern in struct binding. All fields were already bound
19 --> $DIR/rest_pat_in_fully_bound_structs.rs:29:9
20 |
21LL | A { a: 0, b: 0, c: "", .. } => {}, // Lint
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
23 |
24 = help: consider removing `..` from this binding
25
26error: aborting due to 3 previous errors
27