const std = @import("std");
const MyStruct = struct {
    a: i32,
    b: i32,

    pub fn getA(self: *List) i32 {
        return self.items(.c);
    }
};
const List = std.MultiArrayList(MyStruct);
pub export fn entry() void {
    var list = List{};
    _ = MyStruct.getA(&list);
}

// error
//
// :7:28: error: enum 'meta.FieldEnum(tmp.MyStruct)' has no member named 'c'
// :?:?: note: enum declared here
