Closed
Description
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:
error[E0554]: `#![feature]` may not be used on the stable release channel
--> /Users/wrichard/.cargo/registry/src/git.colasdn.top-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