Skip to content

Commit 78d89ff

Browse files
authored
Fix compile (again!)
1 parent f3dac95 commit 78d89ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/racer/ast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ impl<'c, 's, 'ast> visit::Visitor<'ast> for ExprTypeVisitor<'c, 's> {
532532
// (in which case we return bare type as found in the `impl` header)
533533
if let (Some(Ty::Match(ref mut m)), Some(gen)) = (&mut return_ty, gen) {
534534
for (type_param, arg) in m.generics_mut().zip(gen.args()) {
535-
if let Some(resolved) = arg {
535+
if let Some(resolved) = arg.resolved() {
536536
type_param.resolve(resolved.clone());
537537
}
538538
}

0 commit comments

Comments
 (0)