mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Work towards better import labels
This commit is contained in:
parent
4d4ac1d4fa
commit
33c83e72b9
13 changed files with 242 additions and 238 deletions
|
@ -478,7 +478,6 @@ impl Analysis {
|
|||
position: FilePosition,
|
||||
full_import_path: &str,
|
||||
imported_name: String,
|
||||
import_for_trait_assoc_item: bool,
|
||||
) -> Cancelable<Vec<TextEdit>> {
|
||||
Ok(self
|
||||
.with_db(|db| {
|
||||
|
@ -488,7 +487,6 @@ impl Analysis {
|
|||
position,
|
||||
full_import_path,
|
||||
imported_name,
|
||||
import_for_trait_assoc_item,
|
||||
)
|
||||
})?
|
||||
.unwrap_or_default())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue