2018-04-01 13:48:39 -05:00
|
|
|
error[E0609]: no field `00` on type `Verdict`
|
2017-12-30 23:16:16 -06:00
|
|
|
--> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:18:30
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _condemned = justice.00;
|
2018-04-01 13:48:39 -05:00
|
|
|
| ^^ did you mean `0`?
|
2017-12-30 23:16:16 -06:00
|
|
|
|
2018-04-01 13:48:39 -05:00
|
|
|
error[E0609]: no field `001` on type `Verdict`
|
2017-12-30 23:16:16 -06:00
|
|
|
--> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:20:31
|
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | let _punishment = justice.001;
|
2018-04-01 13:48:39 -05:00
|
|
|
| ^^^ unknown field
|
|
|
|
|
|
|
|
|
= note: available fields are: `0`, `1`
|
2017-12-30 23:16:16 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-04-01 13:48:39 -05:00
|
|
|
For more information about this error, try `rustc --explain E0609`.
|