WIP
This commit is contained in:
parent
5c87bc85e2
commit
fd70e8e8db
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ impl<'a> Resolver<'a> {
|
||||||
&mut self,
|
&mut self,
|
||||||
path: &[Segment],
|
path: &[Segment],
|
||||||
span: Span,
|
span: Span,
|
||||||
source: PathSource,
|
source: PathSource<'_>,
|
||||||
def: Option<Def>,
|
def: Option<Def>,
|
||||||
) -> (DiagnosticBuilder<'a>, Vec<ImportSuggestion>) {
|
) -> (DiagnosticBuilder<'a>, Vec<ImportSuggestion>) {
|
||||||
let ident_span = path.last().map_or(span, |ident| ident.ident.span);
|
let ident_span = path.last().map_or(span, |ident| ident.ident.span);
|
||||||
|
@ -235,7 +235,7 @@ impl<'a> Resolver<'a> {
|
||||||
&mut self,
|
&mut self,
|
||||||
err: &mut DiagnosticBuilder<'a>,
|
err: &mut DiagnosticBuilder<'a>,
|
||||||
span: Span,
|
span: Span,
|
||||||
source: PathSource,
|
source: PathSource<'_>,
|
||||||
def: Def,
|
def: Def,
|
||||||
path_str: &str,
|
path_str: &str,
|
||||||
fallback_label: &str,
|
fallback_label: &str,
|
||||||
|
|
|
@ -3128,7 +3128,7 @@ impl<'a> Resolver<'a> {
|
||||||
qself: Option<&QSelf>,
|
qself: Option<&QSelf>,
|
||||||
path: &[Segment],
|
path: &[Segment],
|
||||||
span: Span,
|
span: Span,
|
||||||
source: PathSource,
|
source: PathSource<'_>,
|
||||||
crate_lint: CrateLint)
|
crate_lint: CrateLint)
|
||||||
-> PathResolution {
|
-> PathResolution {
|
||||||
let ns = source.namespace();
|
let ns = source.namespace();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue