diff options
| author | Deadbeef <ent3rm4n@gmail.com> | 2023-06-18 05:24:38 +0000 |
|---|---|---|
| committer | Deadbeef <ent3rm4n@gmail.com> | 2023-06-18 05:24:38 +0000 |
| commit | 89c24af133ddc3e5ee2bee03222da935b50d10e8 (patch) | |
| tree | f973dc2adfca10313d1fb03b64d11d71955d7824 /compiler/rustc_codegen_ssa/src | |
| parent | ed7281e784423249ab85c094aaba81e3b949a65f (diff) | |
| download | rust-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.rs | 2 |
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, |
