Add flyimport completion for trait assoc items
This commit is contained in:
@@ -481,6 +481,7 @@ 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| {
|
||||
@@ -490,6 +491,7 @@ impl Analysis {
|
||||
position,
|
||||
full_import_path,
|
||||
imported_name,
|
||||
import_for_trait_assoc_item,
|
||||
)
|
||||
})?
|
||||
.unwrap_or_default())
|
||||
|
||||
Reference in New Issue
Block a user