1 error[E0609]: no field `nonexistent_field` on type `MyStruct`
2 --> $DIR/issue-19244-2.rs:5:27
4 LL | let a: [isize; STRUCT.nonexistent_field];
5 | ^^^^^^^^^^^^^^^^^ unknown field
7 = note: available fields are: `field`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0609`.