File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
use arena:: TypedArena ;
12
- use back:: { link , symbol_names} ;
12
+ use back:: symbol_names;
13
13
use llvm:: { ValueRef , get_params} ;
14
14
use middle:: def_id:: DefId ;
15
15
use middle:: infer;
@@ -373,7 +373,9 @@ fn trans_fn_once_adapter_shim<'a, 'tcx>(
373
373
let llonce_fn_ty = tcx. mk_fn ( None , llonce_bare_fn_ty) ;
374
374
375
375
// Create the by-value helper.
376
- let function_name = link:: mangle_internal_name_by_type_and_seq ( ccx, llonce_fn_ty, "once_shim" ) ;
376
+ let function_name = symbol_names:: internal_name_from_type_and_suffix ( ccx,
377
+ llonce_fn_ty,
378
+ "once_shim" ) ;
377
379
let lloncefn = declare:: define_internal_rust_fn ( ccx, & function_name,
378
380
llonce_fn_ty) ;
379
381
let sig = tcx. erase_late_bound_regions ( & llonce_bare_fn_ty. sig ) ;
You can’t perform that action at this time.
0 commit comments