Is there sample code for how to use GitHub - rust-lang/rust-analyzer: A Rust compiler front-end for IDEs to parse + type check Rust code ? (a println! of the typed ast tree would suffice).
The manual (understandably) focuses on the problem of "how do I use rust-analyzer from an IDE" User Manual
I have a different problem. I want to use rust-analyzer from a Rust PROGRAM, where I can pass it a crate and get back a typed AST of the crate.