-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"method backtrace
is not a member of trait StdError
"
#254
Comments
Since you mentioned rust-analyzer, I'm guessing this is a duplicate of #250. |
Not exactly. It reports different error:
|
I think you need to write a |
I still think it's the same issue. Rust-analyzer's RUSTC_WRAPPER improperly returns a success exit code on all compiler invocations, even where building should fail. This is rust-lang/rust-analyzer#12973. The exact output you get after this happens depends on whether the toolchain is stable or nightly, but that isn't the cause of the failure. |
backtrace
not found in StdError
in recent nightly.backtrace
is not a member of trait StdError
"
If it's the same issue, doing a |
You're right, |
In recent nightly std, the trait
std::error::Error
doesn't contain methodbacktrace
, which makes anyhow fail to compile. Actually the rust-analyzer complains.The text was updated successfully, but these errors were encountered: