diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-02 10:30:25 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-02 10:30:25 +0100 |
commit | 40a028c9a837f4f189b7db82cd4034536af87322 (patch) | |
tree | 6bf5fdbdef305be4122b2e8a0f8eabef2e6e37fc /crates/syntax/test_data/lexer/ok/0004_numbers.txt | |
parent | c01cd6e3ed0763f8e773c34dc76db0e39396133d (diff) | |
parent | 95ea23cdef74aa8dc194d54db4d884df8ec3567d (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/syntax/test_data/lexer/ok/0004_numbers.txt')
0 files changed, 0 insertions, 0 deletions