Skip to content

Commit c96f17c

Browse files
committed
Better error for non const PartialEq call generated by match
1 parent f429b3e commit c96f17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {
421421
target,
422422
fn_span,
423423
unwind: _,
424-
from_hir_call: _,
424+
call_source: _,
425425
} => {
426426
fx.tcx.prof.generic_activity("codegen call").run(|| {
427427
crate::abi::codegen_terminator_call(

0 commit comments

Comments
 (0)