Return with move semantics
Is that possible to use the move semantic when returning a value from a function?
The code below would give error:
error: 'Value[dtype]' is not copyable because it has no 'copyinit'
return v
^
mojo: error: failed to parse the provided Mojo source module
The code below would give error:
error: 'Value[dtype]' is not copyable because it has no 'copyinit'
return v
^
mojo: error: failed to parse the provided Mojo source module