diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-12 12:47:56 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-12 12:47:56 +0100 |
commit | 08a58901e8deee22a541ed14f7e6b02e3c57132e (patch) | |
tree | 21b1df550c05bae5b9d9ff23107e69727605c552 /crates/ra_parser/src/grammar/paths.rs | |
parent | 36353bb1827dbd2efcde2d18c8598c4cc5e2e296 (diff) | |
parent | 0231e4ac77dacf6ca30f6b68c6081415f2da54ba (diff) |
Merge #4858
4858: find_path: return shorter paths for external items r=flodiebold a=jonas-schievink
If a containing module is already in scope, there's no need to use the full path to the item.
Fixes https://github.com/rust-analyzer/rust-analyzer/issues/4846
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/ra_parser/src/grammar/paths.rs')
0 files changed, 0 insertions, 0 deletions