rust-lang / rls

Repository for the Rust Language Server (aka RLS)
Other
3.51k stars 257 forks source link

links to macros #1352

Open Xanewok opened 5 years ago

Xanewok commented 5 years ago

Originally created by @nrc (https://github.com/rust-dev-tools/rls-analysis/issues/50):

With macros 2.0 that includes imports that reference macros.

Xanewok commented 5 years ago

Originally replied by @nrc (https://github.com/rust-dev-tools/rls-analysis/issues/50#issuecomment-307002935):

Macro ref data is saved by save-analysis but macro def data is not.

Xanewok commented 5 years ago

Originally replied by @kzys (https://github.com/rust-dev-tools/rls-analysis/issues/50#issuecomment-428468827):

Yes. We need to change save-analysis first.

https://github.com/rust-lang/rust/blob/24123dd/src/librustc_save_analysis/dump_visitor.rs#L96