Reexport PrefixKind to remove deps to hir

This commit is contained in:
Edwin Cheng
2021-03-22 13:39:13 +08:00
parent 858ad55437
commit 7784cadc3d
3 changed files with 8 additions and 5 deletions

View File

@@ -1073,9 +1073,11 @@ pub(crate) fn rename_error(err: RenameError) -> crate::LspError {
mod tests {
use std::sync::Arc;
use hir::PrefixKind;
use ide::Analysis;
use ide_db::helpers::{insert_use::InsertUseConfig, SnippetCap};
use ide_db::helpers::{
insert_use::{InsertUseConfig, PrefixKind},
SnippetCap,
};
use super::*;