aboutsummaryrefslogtreecommitdiff
path: root/crates/ide/src/goto_definition.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-10-02 10:30:25 +0100
committerGitHub <[email protected]>2020-10-02 10:30:25 +0100
commit40a028c9a837f4f189b7db82cd4034536af87322 (patch)
tree6bf5fdbdef305be4122b2e8a0f8eabef2e6e37fc /crates/ide/src/goto_definition.rs
parentc01cd6e3ed0763f8e773c34dc76db0e39396133d (diff)
parent95ea23cdef74aa8dc194d54db4d884df8ec3567d (diff)
Merge #6105
6105: Fix path comparison not comparing paths correctly with unequal lengths r=matklad a=Veykril ~~This PR includes the commit from #6102 there as I found a bug while writing that(so either merging this or both in order works) so I included a test there already which was just ignored.~~ This PR fixes that, basically inserting imports didn't consider path length for equality, so depending on the order it might insert the path before or after another import if they only differ in segment length. ~~Diff without the commit of #6102 https://github.com/rust-analyzer/rust-analyzer/commit/2d90d3937d71f9a00f3d44c15b20679215311637~~ Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/ide/src/goto_definition.rs')
0 files changed, 0 insertions, 0 deletions