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 | 31d1fbf8d242df1be9ee14c9d46304f5fcb63792 (patch) | |
| tree | b6792701f3961e12beab8b41c894488f790cedec /compiler/rustc_const_eval/src/interpret | |
| parent | fe7454bf439c93cbe9ac8a8f7fcfacd5a40244c2 (diff) | |
| parent | 446db517af476c646844dc7064c3f472068d22f5 (diff) | |
| download | rust-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.rs | 2 |
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(); |
