trixnz / rustsym

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

pub(in x) not supported #10

Closed Dushistov closed 7 years ago

Dushistov commented 7 years ago
 $ rustsym search -l src/lib.rs Symbol
src/types_map/parsing.rs:26:5: 26:7 error: expected identifier, found keyword `in`
src/types_map/parsing.rs:26 pub(in types_map) fn parse_types_map(
                                ^~
error: internal compiler error: Error constructed but not emitted
thread 'main' panicked at 'explicit panic', .cargo/registry/src/github.com-1ecc6299db9ec823/syntex_errors-0.38.0/src/lib.rs:393
trixnz commented 7 years ago

This should be fixed now if you update to 0.3.2.

Note: This will break again as new syntax is introduced, see https://github.com/trixnz/rustsym/issues/11.