Better error for non const PartialEq
call generated by match
This commit is contained in:
parent
f429b3e67f
commit
c96f17c51f
@ -421,7 +421,7 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) {
|
||||
target,
|
||||
fn_span,
|
||||
unwind: _,
|
||||
from_hir_call: _,
|
||||
call_source: _,
|
||||
} => {
|
||||
fx.tcx.prof.generic_activity("codegen call").run(|| {
|
||||
crate::abi::codegen_terminator_call(
|
||||
|
Loading…
Reference in New Issue
Block a user