example warning: the type does not permit being left uninitialized
arcnmx opened this issue · comments
arcnmx commented
Following the example in the readme results in a warning like:
warning: the type `for<'r> fn(...)` does not permit being left uninitialized
this code causes undefined behavior when executed
help: use `MaybeUninit<T>` instead
I'm using a recent nightly rustc. Presumably this doesn't actually cause any issues because the typecheck part is never called?