Error: Assignment count mismatch '1' = '2'

Hi,
I am trying to create a struct with

MyStruct:: struct($T: typeid) {
...
values: []T
}
....
new_with_bounds :: proc($T: typeid, allocator := context.allocator) -> (h: ^MyStruct(T), err: Error) {
...
x := mem.new(MyStruct(T), allocator)
...

and I get this: Error: Assignment count mismatch ‘1’ = ‘2’

platform: Windows

love it, when just after posting request for help, help comes automatically…

x, alloc_error := …

solved it