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