In order to define functions that produce new non-Escapable values, whether by returning a new value or mutating an existing one, you need to -enable-experimental-feature Lifetimes, and annotate these functions with the @_lifetime attribute. You can read more here:
3 Likes