intellij-rust/intellij-rust
Detect E0609 (Attempted to access a non-existent field in a struct)
オープン
#8,325 opened on 2021/12/23
E-easyfeaturehelp wantedsubsystem::code insight
Repository metrics
- Stars
- (4,526 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
Environment
- IntelliJ Rust plugin version: 0.4.163.4326-213-nightly
- Rust toolchain version: 1.59.0-nightly (5531927e8 2021-12-16) x86_64-apple-darwin
- IDE name and version: CLion 2021.3.1 (CL-213.6461.46)
- Operating system: macOS 11.4
- Macro expansion engine: new
- Name resolution engine: new
- Additional experimental features: org.rust.cargo.features.settings.gutter, org.rust.cargo.evaluate.build.scripts, org.rust.macros.proc
Problem description
See https://doc.rust-lang.org/error-index.html#E0609
Steps to reproduce
struct E;
fn main() {
let t = E;
println!("{}", t.x);
}