Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Regueiro committed Feb 7, 2019
1 parent 5c87bc8 commit fd70e8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/librustc_resolve/error_reporting.rs
Expand Up @@ -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);
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_resolve/lib.rs
Expand Up @@ -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();
Expand Down

0 comments on commit fd70e8e

Please sign in to comment.