Skip to content

Commit f2283a7

Browse files
committed
rustc_metadata: fix for the new ? ambiguity around collect.
1 parent dadbaa4 commit f2283a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_metadata/decoder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ impl<'a, 'tcx> SpecializedDecoder<ty::GenericPredicates<'tcx>> for DecodeContext
366366
} else {
367367
ty::Predicate::decode(self)
368368
}
369-
}).collect()?
369+
}).collect::<Result<Vec<_>, _>>()?
370370
})
371371
}
372372
}

0 commit comments

Comments
 (0)