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 1ee8024 commit c09ebf9Copy full SHA for c09ebf9
compiler/rustc_hir_analysis/src/astconv/mod.rs
@@ -2811,7 +2811,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
2811
var: ty::BoundVar::from_u32(index),
2812
kind: ty::BoundTyKind::Param(def_id, name),
2813
};
2814
- tcx.mk_ty(ty::Bound(debruijn, br))
+ tcx.mk_bound(debruijn, br)
2815
}
2816
Some(rbv::ResolvedArg::EarlyBound(_)) => {
2817
let def_id = def_id.expect_local();
0 commit comments