WIP: use flags to distinguish between Orchard and Sapling scanning #2483
GitHub Actions / Clippy (MSRV)
failed
Feb 21, 2024 in 0s
Clippy (MSRV)
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.65.0 (897e37553 2022-11-02)
- cargo 1.65.0 (4bc8f24d3 2022-10-20)
- clippy 0.1.65 (897e375 2022-11-02)
Annotations
Check failure on line 216 in zcash_client_backend/src/data_api/scanning/spanning_tree.rs
github-actions / Clippy (MSRV)
arguments to this function are incorrect
error[E0308]: arguments to this function are incorrect
--> zcash_client_backend/src/data_api/scanning/spanning_tree.rs:216:23
|
216 | let dom = dominance(
| ^^^^^^^^^
217 | ¤t.priority(),
| ------------------- expected struct `data_api::scanning::ScanRange`, found enum `data_api::scanning::ScanPriority`
218 | &to_insert.priority(),
| --------------------- expected struct `data_api::scanning::ScanRange`, found enum `data_api::scanning::ScanPriority`
|
= note: expected reference `&data_api::scanning::ScanRange`
found reference `&data_api::scanning::ScanPriority`
= note: expected reference `&data_api::scanning::ScanRange`
found reference `&data_api::scanning::ScanPriority`
note: function defined here
--> zcash_client_backend/src/data_api/scanning/spanning_tree.rs:71:4
|
71 | fn dominance(current: &ScanRange, inserted: &ScanRange, insert: Insert) -> Dominance {
| ^^^^^^^^^ ------------------- -------------------- --------------
Check failure on line 72 in zcash_client_backend/src/data_api/scanning/spanning_tree.rs
github-actions / Clippy (MSRV)
mismatched types
error[E0308]: mismatched types
--> zcash_client_backend/src/data_api/scanning/spanning_tree.rs:72:35
|
72 | match (current.priority().cmp(inserted.priority()), (current.priority(), inserted.priority())) {
| --- ^^^^^^^^^^^^^^^^^^^
| | |
| | expected `&data_api::scanning::ScanPriority`, found enum `data_api::scanning::ScanPriority`
| | help: consider borrowing here: `&inserted.priority()`
| arguments to this function are incorrect
|
note: associated function defined here
Check failure on line 72 in zcash_client_backend/src/data_api/scanning/spanning_tree.rs
github-actions / Clippy (MSRV)
mismatched types
error[E0308]: mismatched types
--> zcash_client_backend/src/data_api/scanning/spanning_tree.rs:72:35
|
72 | match (current.priority().cmp(inserted.priority()), (current.priority(), inserted.priority())) {
| --- ^^^^^^^^^^^^^^^^^^^
| | |
| | expected `&data_api::scanning::ScanPriority`, found enum `data_api::scanning::ScanPriority`
| | help: consider borrowing here: `&inserted.priority()`
| arguments to this function are incorrect
|
note: associated function defined here
Loading