What's the best way to use rust-analyzer functionalities from a client Rust application?
#21037
-
|
I'm trying to analyze some Rust code in a way that is not purely syntactical, needing deeper information such as name lookup, lifetime elision, etc. In particular, one of the things I need the most is the ability to do a cross-crate lookup for a name and go to its definition, which is exactly what What's the best way to reuse the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
|
GitHub CodeQL repository might be a great example, especially this crate: https://github.com/github/codeql/blob/main/rust/extractor/src/main.rs (but other ones as well under |
Beta Was this translation helpful? Give feedback.
GitHub CodeQL repository might be a great example, especially this crate: https://github.com/github/codeql/blob/main/rust/extractor/src/main.rs (but other ones as well under
rustdirectory)BTW our lifetime elision is quite incomplete yet