Skip to content

Commit

Permalink
Rollup merge of rust-lang#112232 - fee1-dead-contrib:match-eq-const-m…
Browse files Browse the repository at this point in the history
…sg, r=b-naber

Better error for non const `PartialEq` call generated by `match`

Resolves rust-lang#90237
  • Loading branch information
compiler-errors authored Jun 20, 2023
2 parents f711c7e + 45a685e commit 9a65f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_utils/src/qualify_min_const_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ fn check_terminator<'tcx>(
TerminatorKind::Call {
func,
args,
from_hir_call: _,
call_source: _,
destination: _,
target: _,
unwind: _,
Expand Down

0 comments on commit 9a65f46

Please sign in to comment.