]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/lint-shorthand-field.stderr
New upstream version 1.39.0+dfsg1
[rustc.git] / src / test / ui / lint / lint-shorthand-field.stderr
CommitLineData
b7449926 1error: the `x:` in this pattern is redundant
0731742a 2 --> $DIR/lint-shorthand-field.rs:12:13
b7449926 3 |
532ac7d7 4LL | x: x,
b7449926
XL
5 | --^^
6 | |
7 | help: remove this
8 |
9note: lint level defined here
0731742a 10 --> $DIR/lint-shorthand-field.rs:2:9
b7449926
XL
11 |
12LL | #![deny(non_shorthand_field_patterns)]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14
15error: the `y:` in this pattern is redundant
0731742a 16 --> $DIR/lint-shorthand-field.rs:13:13
b7449926 17 |
532ac7d7 18LL | y: ref y,
b7449926
XL
19 | --^^^^^^
20 | |
21 | help: remove this
22
23error: aborting due to 2 previous errors
24