Fix mk_const_list

This commit is contained in:
kadmin 2022-11-25 09:35:37 +00:00
parent 677bdcb8a9
commit d0209db157

View File

@ -2717,7 +2717,7 @@ pub fn intern_predicates(self, preds: &[Predicate<'tcx>]) -> &'tcx List<Predicat
}
}
pub fn mk_const_list<I: InternAs<[ty::Const<'tcx>], &'tcx List<ty::Const<'tcx>>>>(
pub fn mk_const_list<I: InternAs<ty::Const<'tcx>, &'tcx List<ty::Const<'tcx>>>>(
self,
iter: I,
) -> I::Output {