We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 75df685 commit 29212ecCopy full SHA for 29212ec
src/librustc_trans/closure.rs
@@ -257,7 +257,7 @@ fn trans_fn_once_adapter_shim<'a, 'tcx>(
257
258
// Create the by-value helper.
259
let function_name = method_instance.symbol_name(ccx.shared());
260
- let lloncefn = declare::declare_fn(ccx, &function_name, llonce_fn_ty);
+ let lloncefn = declare::define_internal_fn(ccx, &function_name, llonce_fn_ty);
261
attributes::set_frame_pointer_elimination(ccx, lloncefn);
262
263
let (block_arena, fcx): (TypedArena<_>, FunctionContext);
0 commit comments