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,
|
||||
path: &[Segment],
|
||||
span: Span,
|
||||
source: PathSource,
|
||||
source: PathSource<'_>,
|
||||
def: Option<Def>,
|
||||
) -> (DiagnosticBuilder<'a>, Vec<ImportSuggestion>) {
|
||||
let ident_span = path.last().map_or(span, |ident| ident.ident.span);
|
||||
|
@ -235,7 +235,7 @@ impl<'a> Resolver<'a> {
|
|||
&mut self,
|
||||
err: &mut DiagnosticBuilder<'a>,
|
||||
span: Span,
|
||||
source: PathSource,
|
||||
source: PathSource<'_>,
|
||||
def: Def,
|
||||
path_str: &str,
|
||||
fallback_label: &str,
|
||||
|
|
|
@ -3128,7 +3128,7 @@ impl<'a> Resolver<'a> {
|
|||
qself: Option<&QSelf>,
|
||||
path: &[Segment],
|
||||
span: Span,
|
||||
source: PathSource,
|
||||
source: PathSource<'_>,
|
||||
crate_lint: CrateLint)
|
||||
-> PathResolution {
|
||||
let ns = source.namespace();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue