rustsym
rustsym copied to clipboard
A tool to query symbols from rust code for use in IDEs
cargo install -v rustsym ````bash rustc 1.55.0-nightly (5a7834050 2021-06-23) cargo 1.54.0-nightly (44456677b 2021-06-12) ```` ````bash Running `rustc --crate-name serde_json --edition=2018 /Users/lavenderuni/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no...
## The problem So I've got this small project (can provide you a git repo if it helps) that uses the "mlua" crate. I have a file with this code:...
``` // this works use std::ffi::{OsStr}; // this does not use std::{ffi::OsStr}; fn main() -> std::io::Result { return Ok(()); } ``` With this code panic popup rises: > rustsym panicked...
Since `syntex_syntax` is [no longer maintained](https://github.com/serde-rs/syntex/issues/114), we need an alternative solution for parsing Rust to an AST. I'm not as involved in the rust community as much as I would...