You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/wrichard/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/anyhow-1.0.61/src/lib.rs:214:32
|
214 | #![cfg_attr(backtrace, feature(backtrace))]
| ^^^^^^^^^
Expected
Code completion involving include!(concat!(env!("OUT_DIR"), "/bindings.rs")) works
Steps to reproduce
Create a rust project with a dependency on anyhow
Enable evaluate.build.scripts and proc macro expansion
Sync project
The text was updated successfully, but these errors were encountered:
I'm getting the below error on nightly, and I believe it's the same issue, based on: dtolnay/anyhow#254
error[E0407]: method `backtrace` is not a member of trait `StdError`
--> ~\.cargo\registry\src\github.com-1ecc6299db9ec823\anyhow-1.0.62\src\context.rs:127:5
|
127 | / fn backtrace(&self) -> Option<&Backtrace> {128 | | self.error.backtrace()129 | | }
| |_____^ not a member of trait `StdError`
(... same for three other locations)
What seems to work is, outside of CLion, is doing a cargo clean followed immediately by cargo build - even syncing and rebuilding within the editor will work as long as that's been done (presumably until something to do with dependencies changes?)
Environment
CLion2022.2
cargo 1.62.1-aarch64-apple-darwin
Rust plugin 0.4.175.4772-222
Originally posted in https://youtrack.jetbrains.com/issue/CPP-30162/Failure-to-evaluate-build-script-for-anyhow
Problem description
Error during syncing:
Expected
Code completion involving include!(concat!(env!("OUT_DIR"), "/bindings.rs")) works
Steps to reproduce
The text was updated successfully, but these errors were encountered: