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_codegen_cranelift | |
| 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_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/base.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/base.rs b/compiler/rustc_codegen_cranelift/src/base.rs index 5abb4644e1b..ce10780f9de 100644 --- a/compiler/rustc_codegen_cranelift/src/base.rs +++ b/compiler/rustc_codegen_cranelift/src/base.rs @@ -421,7 +421,7 @@ fn codegen_fn_body(fx: &mut FunctionCx<'_, '_, '_>, start_block: Block) { target, fn_span, unwind: _, - from_hir_call: _, + call_source: _, } => { fx.tcx.prof.generic_activity("codegen call").run(|| { crate::abi::codegen_terminator_call( |
