File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ pub(crate) fn get_function_sig<'tcx>(
7070 default_call_conv : CallConv ,
7171 inst : Instance < ' tcx > ,
7272) -> Signature {
73- assert ! ( !inst. substs. needs_infer ( ) ) ;
73+ assert ! ( !inst. substs. has_infer ( ) ) ;
7474 clif_sig_from_fn_abi (
7575 tcx,
7676 default_call_conv,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ pub(crate) fn codegen_fn<'tcx>(
2828 module : & mut dyn Module ,
2929 instance : Instance < ' tcx > ,
3030) -> CodegenedFunction {
31- debug_assert ! ( !instance. substs. needs_infer ( ) ) ;
31+ debug_assert ! ( !instance. substs. has_infer ( ) ) ;
3232
3333 let symbol_name = tcx. symbol_name ( instance) . name . to_string ( ) ;
3434 let _timer = tcx. prof . generic_activity_with_arg ( "codegen fn" , & * symbol_name) ;
You can’t perform that action at this time.
0 commit comments