Skip to content

Commit 0d4639d

Browse files
Fix inference fallout
1 parent 10ed501 commit 0d4639d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_middle/ty/trait_def.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ pub(super) fn trait_impls_of_provider(tcx: TyCtxt<'_>, trait_id: DefId) -> &Trai
193193
let mut impls = TraitImpls::default();
194194

195195
{
196-
let mut add_impl = |impl_def_id| {
196+
let mut add_impl = |impl_def_id: DefId| {
197197
let impl_self_ty = tcx.type_of(impl_def_id);
198198
if impl_def_id.is_local() && impl_self_ty.references_error() {
199199
return;

0 commit comments

Comments
 (0)