Closed
Description
Environment
- IntelliJ Rust plugin version: 0.4.175.4741-222-nightly
- Rust toolchain version: 1.64.0-nightly (c396bb3b8 2022-07-10) x86_64-pc-windows-msvc
- IDE name and version: CLion 2022.2 EAP (CL-222.3345.16)
- Operating system: Windows 10 10.0
- Macro expansion engine: new
- Name resolution engine: new
- Additional experimental features: org.rust.cargo.features.settings.gutter, org.rust.cargo.emulate.terminal, org.rust.cargo.evaluate.build.scripts, org.rust.macros.proc
Problem description
intellij-rust
doesn't expand any macros, doesn't matter which project or which crates contain the macros (e.g. serde::Serialize
)
I get the error message Failed to expand the macro: a procedural macro error occurred:
(nothing after the colon)
Steps to reproduce
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Test {
pub id: u64,
pub name: String,
}