rust/crates
bors[bot] 13f464edbd Merge #836
836: auto_import: fix bug when the common path was shorter than both the c… r=matklad a=eulerdisk

Fix bug when the common path was shorter than both the current use and target path.

Wrong 1 (unnecessary self)
```
use std::fmt::nested::Debug;
std::fmt::Display<|>
```
--->
```
use std::fmt::{ self, Display, nested::Debug};
Display<|>
```

Wrong 2 (unnecessary, Debug disappear!!)
```
use std::fmt::Debug;
std::fmt::nested::Display
```
-->
```
use std::fmt::Debug::{ self, nested::Display, };
Display<|>
```

Co-authored-by: Andrea Pretto <eulerdisk@gmail.com>
2019-02-16 11:29:03 +00:00
..
gen_lsp_server Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_arena Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_assists auto_import: fix bug when the common path was shorter than both the current use and target path. 2019-02-14 21:58:36 +01:00
ra_batch automatically wait for worker threads 2019-02-14 21:11:07 +03:00
ra_cli Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_db Make edition handling a bit nicer and allow specifying edition in crate_graph macro 2019-02-13 20:31:47 +01:00
ra_fmt Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_hir Complete names from prelude 2019-02-13 21:13:08 +01:00
ra_ide_api use better label for &mut ref completion 2019-02-14 21:34:06 +03:00
ra_ide_api_light what goes bump in the night? 2019-02-12 11:03:28 -05:00
ra_lsp_server automatically wait for worker threads 2019-02-14 21:11:07 +03:00
ra_mbe Fix some typos 2019-02-12 15:02:57 +01:00
ra_project_model Make edition handling a bit nicer and allow specifying edition in crate_graph macro 2019-02-13 20:31:47 +01:00
ra_syntax Import the prelude 2019-02-13 20:10:09 +01:00
ra_text_edit Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00
ra_tt make token trees eq 2019-02-12 20:57:13 +03:00
ra_vfs Dont slow down everyone else's testing (especially the CI's Linux) just for OS X. 2019-02-15 13:26:19 +01:00
test_utils Fix some typos 2019-02-12 15:02:57 +01:00
thread_worker automatically wait for worker threads 2019-02-14 21:11:07 +03:00
tools Fix typo in Cargo.toml authors 2019-02-11 10:20:04 +02:00