Skip to content

Commit d0209db

Browse files
committed
Fix mk_const_list
1 parent 677bdcb commit d0209db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2717,7 +2717,7 @@ impl<'tcx> TyCtxt<'tcx> {
27172717
}
27182718
}
27192719

2720-
pub fn mk_const_list<I: InternAs<[ty::Const<'tcx>], &'tcx List<ty::Const<'tcx>>>>(
2720+
pub fn mk_const_list<I: InternAs<ty::Const<'tcx>, &'tcx List<ty::Const<'tcx>>>>(
27212721
self,
27222722
iter: I,
27232723
) -> I::Output {

0 commit comments

Comments
 (0)