summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret
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_const_eval/src/interpret
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_const_eval/src/interpret')
-rw-r--r--compiler/rustc_const_eval/src/interpret/terminator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/terminator.rs b/compiler/rustc_const_eval/src/interpret/terminator.rs
index 7269ff8d53c..719d8a14b41 100644
--- a/compiler/rustc_const_eval/src/interpret/terminator.rs
+++ b/compiler/rustc_const_eval/src/interpret/terminator.rs
@@ -62,7 +62,7 @@ impl<'mir, 'tcx: 'mir, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
                 destination,
                 target,
                 unwind,
-                from_hir_call: _,
+                call_source: _,
                 fn_span: _,
             } => {
                 let old_stack = self.frame_idx();