summary refs log tree commit diff
path: root/src/test/ui/issue-47073-zero-padded-tuple-struct-indices.stderr
blob: 9603ac01fefb94f224816f27a62ab2b77e0fd2f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: invalid tuple or struct index
  --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:18:30
   |
LL |     let _condemned = justice.00;
   |                              ^^ help: try simplifying the index: `0`

error: invalid tuple or struct index
  --> $DIR/issue-47073-zero-padded-tuple-struct-indices.rs:20:31
   |
LL |     let _punishment = justice.001;
   |                               ^^^ help: try simplifying the index: `1`

error: aborting due to 2 previous errors