Closed JFreegman closed 4 years ago
thread 'main' panicked at 'attempted to leave typecore::errors::InitErroruninitialized, which is invalid', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/mem/mod.rs:664:9
thread 'main' panicked at 'attempted to leave type
uninitialized, which is invalid', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/mem/mod.rs:664:9
This appears to be stemming from the usage of mem::uninitialized() which has been recently deprecated due to it causing UB.
mem::uninitialized()
Oh...
thread 'main' panicked at 'attempted to leave type
core::errors::InitErroruninitialized, which is invalid', /rustc/04488afe34512aa4c33566eb16d8c912a3ae04f9/src/libcore/mem/mod.rs:664:9