diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-19 20:04:14 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-01-22 16:50:30 +0000 |
| commit | f700ee4e709abb2243acd0fb8b9928160896c2bd (patch) | |
| tree | d06c504a8d2be6182384b2bc0f0cd8d9ed57bccf /compiler/rustc_codegen_cranelift/src | |
| parent | 30662530506ed29ea29191798cb2ab8aa1249023 (diff) | |
| download | rust-f700ee4e709abb2243acd0fb8b9928160896c2bd.tar.gz rust-f700ee4e709abb2243acd0fb8b9928160896c2bd.zip | |
Do not normalize closure signature when building FnOnce shim
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/base.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs index 881c0c0b56b..0afd6d0e670 100644 --- a/compiler/rustc_codegen_cranelift/src/base.rs +++ b/compiler/rustc_codegen_cranelift/src/base.rs @@ -682,7 +682,6 @@ fn codegen_stmt<'tcx>( args, ty::ClosureKind::FnOnce, ) - .expect("failed to normalize and resolve closure during codegen") .polymorphize(fx.tcx); let func_ref = fx.get_function_ref(instance); let func_addr = fx.bcx.ins().func_addr(fx.pointer_type, func_ref); |
