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 | 45a685e3a95126a6560fd2658c8d1af371441e47 (patch) | |
| tree | 60e611e2120c8e40d91474d81768c6b343d1c47b | |
| parent | 5777494f990a40350944ec6e92e0be16b880a636 (diff) | |
| download | rust-45a685e3a95126a6560fd2658c8d1af371441e47.tar.gz rust-45a685e3a95126a6560fd2658c8d1af371441e47.zip | |
Better error for non const `PartialEq` call generated by `match`
| -rw-r--r-- | clippy_utils/src/qualify_min_const_fn.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_utils/src/qualify_min_const_fn.rs b/clippy_utils/src/qualify_min_const_fn.rs index c0d2c835d63..566eecf36a7 100644 --- a/clippy_utils/src/qualify_min_const_fn.rs +++ b/clippy_utils/src/qualify_min_const_fn.rs @@ -317,7 +317,7 @@ fn check_terminator<'tcx>( TerminatorKind::Call { func, args, - from_hir_call: _, + call_source: _, destination: _, target: _, unwind: _, |
