Better error for non const PartialEq
call generated by match
This commit is contained in:
parent
5777494f99
commit
45a685e3a9
@ -317,7 +317,7 @@ fn check_terminator<'tcx>(
|
||||
TerminatorKind::Call {
|
||||
func,
|
||||
args,
|
||||
from_hir_call: _,
|
||||
call_source: _,
|
||||
destination: _,
|
||||
target: _,
|
||||
unwind: _,
|
||||
|
Loading…
x
Reference in New Issue
Block a user