Skip to content

Commit fd70e8e

Browse files
author
Alexander Regueiro
committed
WIP
1 parent 5c87bc8 commit fd70e8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustc_resolve/error_reporting.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl<'a> Resolver<'a> {
2323
&mut self,
2424
path: &[Segment],
2525
span: Span,
26-
source: PathSource,
26+
source: PathSource<'_>,
2727
def: Option<Def>,
2828
) -> (DiagnosticBuilder<'a>, Vec<ImportSuggestion>) {
2929
let ident_span = path.last().map_or(span, |ident| ident.ident.span);
@@ -235,7 +235,7 @@ impl<'a> Resolver<'a> {
235235
&mut self,
236236
err: &mut DiagnosticBuilder<'a>,
237237
span: Span,
238-
source: PathSource,
238+
source: PathSource<'_>,
239239
def: Def,
240240
path_str: &str,
241241
fallback_label: &str,

src/librustc_resolve/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3128,7 +3128,7 @@ impl<'a> Resolver<'a> {
31283128
qself: Option<&QSelf>,
31293129
path: &[Segment],
31303130
span: Span,
3131-
source: PathSource,
3131+
source: PathSource<'_>,
31323132
crate_lint: CrateLint)
31333133
-> PathResolution {
31343134
let ns = source.namespace();

0 commit comments

Comments
 (0)