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
This commit is contained in:
commit
31d1fbf8d2
35 changed files with 211 additions and 100 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue