#zig build-obj {
--name test -fno-emit-bin
-Mroot=test.zig
#}

#write test.zig {
export fn entry() void {
    var damn = Container{
        .not_optional = getOptional(i32),
    };
    _ = &damn;
}
pub fn getOptional(comptime T: type) ?T {
    return 0;
}
pub const Container = struct {
    not_optional: i32,
};
#}
#update
#check errors {
test.zig:3:23: error: expected type 'i32', found '?i32'
test.zig:3:23: note: cannot convert optional to payload type
test.zig:3:23: note: consider using '.?', 'orelse', or 'if'
#}
