about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDeadbeef <ent3rm4n@gmail.com>2023-06-18 05:24:38 +0000
committerDeadbeef <ent3rm4n@gmail.com>2023-06-18 05:24:38 +0000
commitc96f17c51f07cf49511f8cdb40bc8295a2bdafd7 (patch)
tree4c88efabbf4f8c6be536ce4c91f1370dc62c097f
parentf429b3e67f641ca06508d8fd19529b3f33e1e40e (diff)
downloadrust-c96f17c51f07cf49511f8cdb40bc8295a2bdafd7.tar.gz
rust-c96f17c51f07cf49511f8cdb40bc8295a2bdafd7.zip
Better error for non const `PartialEq` call generated by `match`
-rw-r--r--src/base.rs2
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(