trixnz / rustsym

A tool to query symbols from rust code for use in IDEs
MIT License
91 stars 7 forks source link

panics on some "use" statements #12

Open seik0ixtem opened 6 years ago

seik0ixtem commented 6 years ago
// 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 while searching D:\workspace\rust\udpate_generator\src\test.rs for symbols. thread 'main' panicked at 'explicit panic', C:\Users\komp.cargo\registry\src\github.com-1ecc6299db9ec823\syntex_errors-0.59.1\src\diagnostic_builder.rs:204:13