clippy
1 error, 4 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 4 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0 (82e1608df 2023-12-21)
- cargo 1.75.0 (1d8b05cdd 2023-11-20)
- clippy 0.1.75 (82e1608 2023-12-21)
Annotations
Check failure on line 188 in libzkbob-rs/src/client/mod.rs
github-actions / clippy
mismatched types
error[E0308]: mismatched types
--> libzkbob-rs/src/client/mod.rs:188:32
|
188 | Self::new(sk, pool_id, msg_enc_type, state, params)
| --------- ^^^^^^^^^^^^ expected `bool`, found `MessageEncryptionType`
| |
| arguments to this function are incorrect
|
note: associated function defined here
--> libzkbob-rs/src/client/mod.rs:172:12
|
172 | pub fn new(sk: Num<P::Fs>, pool_id: u32, is_obsolete_pool: bool, state: State<D, P>, params: P) -> Self {
| ^^^ ----------------------
Check warning on line 107 in libs/kvdb-web/src/lib.rs
github-actions / clippy
deref which would be done by auto-deref
warning: deref which would be done by auto-deref
--> libs/kvdb-web/src/lib.rs:107:46
|
107 | let _ = indexed_db::idb_commit_transaction(&*self.indexed_db, &transaction, self.columns);
| ^^^^^^^^^^^^^^^^^ help: try: `&self.indexed_db`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
Check warning on line 107 in libs/kvdb-web/src/lib.rs
github-actions / clippy
non-binding `let` on a future
warning: non-binding `let` on a future
--> libs/kvdb-web/src/lib.rs:107:3
|
107 | let _ = indexed_db::idb_commit_transaction(&*self.indexed_db, &transaction, self.columns);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: consider awaiting the future or dropping explicitly with `std::mem::drop`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_underscore_future
= note: `#[warn(clippy::let_underscore_future)]` on by default
Check warning on line 70 in libs/kvdb-web/src/lib.rs
github-actions / clippy
deref which would be done by auto-deref
warning: deref which would be done by auto-deref
--> libs/kvdb-web/src/lib.rs:70:44
|
70 | let mut stream = indexed_db::idb_cursor(&*inner, column);
| ^^^^^^^ help: try: `&inner`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
= note: `#[warn(clippy::explicit_auto_deref)]` on by default
Check warning on line 16 in libs/kvdb-web/src/error.rs
github-actions / clippy
using tabs in doc comments is not recommended
warning: using tabs in doc comments is not recommended
--> libs/kvdb-web/src/error.rs:16:59
|
16 | /// Accessing a Window or Worker Global Scope has failed.
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
= note: `#[warn(clippy::tabs_in_doc_comments)]` on by default