Skip to content

Commit c09ebf9

Browse files
committed
Replace a mk_ty call with mk_bound.
1 parent 1ee8024 commit c09ebf9

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_hir_analysis/src/astconv

1 file changed

+1
-1
lines changed

compiler/rustc_hir_analysis/src/astconv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2811,7 +2811,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
28112811
var: ty::BoundVar::from_u32(index),
28122812
kind: ty::BoundTyKind::Param(def_id, name),
28132813
};
2814-
tcx.mk_ty(ty::Bound(debruijn, br))
2814+
tcx.mk_bound(debruijn, br)
28152815
}
28162816
Some(rbv::ResolvedArg::EarlyBound(_)) => {
28172817
let def_id = def_id.expect_local();

0 commit comments

Comments
 (0)