We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mk_ty
mk_bound
1 parent 2200911 commit a980683Copy full SHA for a980683
compiler/rustc_hir_analysis/src/astconv/mod.rs
@@ -2810,7 +2810,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
2810
var: ty::BoundVar::from_u32(index),
2811
kind: ty::BoundTyKind::Param(def_id, name),
2812
};
2813
- tcx.mk_ty(ty::Bound(debruijn, br))
+ tcx.mk_bound(debruijn, br)
2814
}
2815
Some(rbv::ResolvedArg::EarlyBound(_)) => {
2816
let def_id = def_id.expect_local();
0 commit comments