Closed
Description
As of rust-lang/rust#99431 fn backtrace
is not part of Error
anymore. This causes derives with backtrace
to fail; And the following example results in a compilation error.
method `backtrace` is not a member of trait `std::error::Error`
not a member of trait `std::error::Error`
#[derive(Error, Debug)]
#[error("Platform Error {code}")]
pub struct PlatformError {
backtrace: Backtrace,
code: i32,
}
Metadata
Metadata
Assignees
Labels
No labels