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.
normalize_erasing_late_bound_regions
.skip_binder()
1 parent 198fbdf commit cd68456Copy full SHA for cd68456
compiler/rustc_codegen_llvm/src/intrinsic.rs
@@ -1136,8 +1136,7 @@ fn codegen_autodiff<'ll, 'tcx>(
1136
let fn_args = instance.args;
1137
let callee_ty = instance.ty(tcx, bx.typing_env());
1138
1139
- let sig = callee_ty.fn_sig(tcx);
1140
- let sig = tcx.normalize_erasing_late_bound_regions(bx.typing_env(), sig);
+ let sig = callee_ty.fn_sig(tcx).skip_binder();
1141
1142
let ret_ty = sig.output();
1143
let llret_ty = bx.layout_of(ret_ty).llvm_type(bx);
0 commit comments