mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
rename LoweredImport -> ImportId
This commit is contained in:
parent
c0aeb5204c
commit
63f7dadc11
8 changed files with 25 additions and 185 deletions
|
@ -7,7 +7,7 @@ use ra_syntax::{ast, TreeArc, SyntaxNode};
|
|||
use crate::{
|
||||
Name, DefId, Path, PerNs, ScopesWithSyntaxMapping, Ty, HirFileId,
|
||||
type_ref::TypeRef,
|
||||
nameres::{ModuleScope, lower::LoweredImport},
|
||||
nameres::{ModuleScope, lower::ImportId},
|
||||
db::HirDatabase,
|
||||
expr::BodySyntaxMapping,
|
||||
ty::InferenceResult,
|
||||
|
@ -100,7 +100,7 @@ impl Module {
|
|||
pub fn import_source(
|
||||
&self,
|
||||
db: &impl HirDatabase,
|
||||
import: LoweredImport,
|
||||
import: ImportId,
|
||||
) -> TreeArc<ast::PathSegment> {
|
||||
self.import_source_impl(db, import)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue