]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issue-47073-zero-padded-tuple-struct-indices.stderr
in which leading zeroes on tuple-struct accesses are abjured
[rust.git] / src / test / ui / issue-47073-zero-padded-tuple-struct-indices.stderr
1 error: invalid tuple or struct index
2   --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:18:30
3    |
4 18 |     let _condemned = justice.00;
5    |                              ^^ help: try simplifying the index: `0`
6
7 error: invalid tuple or struct index
8   --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:20:31
9    |
10 20 |     let _punishment = justice.001;
11    |                               ^^^ help: try simplifying the index: `1`
12
13 error: aborting due to 2 previous errors
14