summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-19244-2.stderr
blob: 533861b1114e577c4ff2ebf0fe8d184fefbf6995 (plain)
1
2
3
4
5
6
7
8
9
10
11
error[E0609]: no field `nonexistent_field` on type `MyStruct`
  --> $DIR/issue-19244-2.rs:5:27
   |
LL |     let a: [isize; STRUCT.nonexistent_field];
   |                           ^^^^^^^^^^^^^^^^^ unknown field
   |
   = note: available field is: `field`

error: aborting due to 1 previous error

For more information about this error, try `rustc --explain E0609`.