This PR makes tiny improvement for the generated src/lib_generated.rs from witx.
Currently generated code lacks explicit lifetime parameter when an aliased type is referred as an argument, which is encouraged to put explicitly in Rust 2018.
In fact these optional warnings prevents me from compiling rust-lang/rust with pointing wasi dependency to my local copy by following errors.
This PR makes tiny improvement for the generated
src/lib_generated.rs
from witx. Currently generated code lacks explicit lifetime parameter when an aliased type is referred as an argument, which is encouraged to put explicitly in Rust 2018.In fact these optional warnings prevents me from compiling rust-lang/rust with pointing
wasi
dependency to my local copy by following errors.