about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-06-19 17:53:33 -0700
committerGitHub <noreply@github.com>2023-06-19 17:53:33 -0700
commit31d1fbf8d242df1be9ee14c9d46304f5fcb63792 (patch)
treeb6792701f3961e12beab8b41c894488f790cedec /compiler/rustc_codegen_ssa
parentfe7454bf439c93cbe9ac8a8f7fcfacd5a40244c2 (diff)
parent446db517af476c646844dc7064c3f472068d22f5 (diff)
downloadrust-31d1fbf8d242df1be9ee14c9d46304f5fcb63792.tar.gz
rust-31d1fbf8d242df1be9ee14c9d46304f5fcb63792.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
Diffstat (limited to 'compiler/rustc_codegen_ssa')
-rw-r--r--compiler/rustc_codegen_ssa/src/mir/block.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/mir/block.rs b/compiler/rustc_codegen_ssa/src/mir/block.rs
index a4a8aad8726..0cec560ba45 100644
--- a/compiler/rustc_codegen_ssa/src/mir/block.rs
+++ b/compiler/rustc_codegen_ssa/src/mir/block.rs
@@ -1280,7 +1280,7 @@ impl<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> {
                 destination,
                 target,
                 unwind,
-                from_hir_call: _,
+                call_source: _,
                 fn_span,
             } => self.codegen_call_terminator(
                 helper,