about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src
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
commit89c24af133ddc3e5ee2bee03222da935b50d10e8 (patch)
treef973dc2adfca10313d1fb03b64d11d71955d7824 /compiler/rustc_codegen_ssa/src
parented7281e784423249ab85c094aaba81e3b949a65f (diff)
downloadrust-89c24af133ddc3e5ee2bee03222da935b50d10e8.tar.gz
rust-89c24af133ddc3e5ee2bee03222da935b50d10e8.zip
Better error for non const `PartialEq` call generated by `match`
Diffstat (limited to 'compiler/rustc_codegen_ssa/src')
-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,