Skip to content

Commit b8a7470

Browse files
committed
Handle impl/dyn Trait in match_ty
1 parent 7026d42 commit b8a7470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

chalk-solve/src/clauses.rs

+1
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ fn match_ty(
278278
Ty::ForAll(quantified_ty) => match_ty(db, environment, &quantified_ty.ty, clauses),
279279
Ty::BoundVar(_) => {}
280280
Ty::InferenceVar(_) => panic!("should have floundered"),
281+
Ty::Dyn(_) | Ty::Opaque(_) => {}
281282
}
282283
}
283284

0 commit comments

Comments
 (0)