Skip to content

Commit a980683

Browse files
committed
Replace a mk_ty call with mk_bound.
1 parent 2200911 commit a980683

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

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

0 commit comments

Comments
 (0)