Skip to content

Commit

Permalink
Rollup merge of rust-lang#112232 - fee1-dead-contrib:match-eq-const-m…
Browse files Browse the repository at this point in the history
…sg, r=b-naber

Better error for non const `PartialEq` call generated by `match`

Resolves rust-lang#90237
  • Loading branch information
compiler-errors authored Jun 20, 2023
2 parents 0c3e152 + c96f17c commit 7ba31b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7ba31b9

Please sign in to comment.