rust-analyzer and scip #21124
-
|
Hello, I use
Given that in VS Code, Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
|
This seems partly related to #21125. As far as I can tell, we mostly emit definitions. But even for something like: use std::ops::AddAssign;
struct S;
impl AddAssign for S {
fn add_assign(&mut self, _rhs: Self) {}
}
fn main() {
let mut s = S;
s += S;
s += S;
s += S;
}I don't see the |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Laurențiu! Just to confirm: when you say "I don't see the add_assign calls", you mean they're missing from the JSON output you get from rust-analyzer scip . followed by scip print --json index.scip > out.json, correct? |
Beta Was this translation helpful? Give feedback.
-
|
Thanks both! |
Beta Was this translation helpful? Give feedback.

Operator calls seem to be missing from the SCIP output indeed. I've opened #21127 to track this.