Error: description() is deprecated; use Display
cwen0 opened this issue · 0 comments
cwen0 commented
Error: description() is deprecated; use Display
Stack backtrace:
0: anyhow::error::<impl core::convert::From<E> for anyhow::Error>::from
at ./root/.cargo/registry/src/github.com-1ecc6299db9ec823/anyhow-1.0.31/src/backtrace.rs:26
toda::mount_injector::MountInjectionGuard::recover_mount
at src/mount_injector.rs:53
1: toda::resume
at src/main.rs:107
toda::main
at src/main.rs:146
2: std::rt::lang_start::{{closure}}
at ./rustc/16957bd4d3a5377263f76ed74c572aad8e4b7e59/src/libstd/rt.rs:67
3: std::rt::lang_start_internal::{{closure}}
at src/libstd/rt.rs:52
std::panicking::try::do_call
at src/libstd/panicking.rs:342
std::panicking::try
at src/libstd/panicking.rs:319
std::panic::catch_unwind
at src/libstd/panic.rs:394
std::rt::lang_start_internal
at src/libstd/rt.rs:51
4: main
5: <unknown>
6: _start
Can we avoid this error?