diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-19 17:53:33 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-19 17:53:33 -0700 |
| commit | 7ba31b9938833726cfcd8927a9f9c95f43c1b279 (patch) | |
| tree | 7aaf5fed27be6a817ebb2bc1759927cacac6477a | |
| parent | 0c3e15283f31f4b7e6de382be70c4cc61c2b32d7 (diff) | |
| parent | c96f17c51f07cf49511f8cdb40bc8295a2bdafd7 (diff) | |
| download | rust-7ba31b9938833726cfcd8927a9f9c95f43c1b279.tar.gz rust-7ba31b9938833726cfcd8927a9f9c95f43c1b279.zip | |
Rollup merge of #112232 - fee1-dead-contrib:match-eq-const-msg, r=b-naber
Better error for non const `PartialEq` call generated by `match` Resolves #90237
| -rw-r--r-- | src/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base.rs b/src/base.rs index 5abb4644e1b..ce10780f9de 100644 --- a/src/base.rs +++ b/src/base.rs @@ -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( |
