1
Fork 0

rustc_metadata: fix for the new ? ambiguity around collect.

This commit is contained in:
Eduard Burtescu 2016-09-17 14:25:19 +03:00
parent dadbaa48ac
commit f2283a7be0

View file

@ -366,7 +366,7 @@ impl<'a, 'tcx> SpecializedDecoder<ty::GenericPredicates<'tcx>> for DecodeContext
} else {
ty::Predicate::decode(self)
}
}).collect()?
}).collect::<Result<Vec<_>, _>>()?
})
}
}