]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-47073-zero-padded-tuple-struct-indices.stderr
Rollup merge of #91804 - woppopo:const_clone, r=oli-obk
[rust.git] / src / test / ui / issues / issue-47073-zero-padded-tuple-struct-indices.stderr
1 error[E0609]: no field `00` on type `Verdict`
2   --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:8:30
3    |
4 LL |     let _condemned = justice.00;
5    |                              ^^ help: a field with a similar name exists: `0`
6
7 error[E0609]: no field `001` on type `Verdict`
8   --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:10:31
9    |
10 LL |     let _punishment = justice.001;
11    |                               ^^^ unknown field
12    |
13    = note: available fields are: `0`, `1`
14
15 error: aborting due to 2 previous errors
16
17 For more information about this error, try `rustc --explain E0609`.