buf_create(SIZE)
and
buf_destroy(buf)
now the compiler has to infer that buf_create creates a lifetime and buf_destroy destroys it.
we're back to Rust's Box.