refactor(core): allow custom protocol handler to resolve async #1418
all
5 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 5 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.0 (5680fa18f 2023-08-23)
- cargo 1.72.0 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (5680fa1 2023-08-23)
Annotations
Check failure on line 110 in core/tauri/src/ipc/format_callback.rs
github-actions / all
function `format_result` is never used
error: function `format_result` is never used
--> core/tauri/src/ipc/format_callback.rs:110:8
|
110 | pub fn format_result<T: Serialize, E: Serialize>(
| ^^^^^^^^^^^^^
Check failure on line 86 in core/tauri/src/ipc/format_callback.rs
github-actions / all
function `format` is never used
error: function `format` is never used
--> core/tauri/src/ipc/format_callback.rs:86:8
|
86 | pub fn format<T: Serialize>(function_name: CallbackFn, arg: &T) -> crate::api::Result<String> {
| ^^^^^^
Check failure on line 43 in core/tauri/src/ipc/format_callback.rs
github-actions / all
function `serialize_js_with` is never used
error: function `serialize_js_with` is never used
--> core/tauri/src/ipc/format_callback.rs:43:4
|
43 | fn serialize_js_with<T: Serialize, F: FnOnce(&str) -> String>(
| ^^^^^^^^^^^^^^^^^
Check failure on line 23 in core/tauri/src/ipc/format_callback.rs
github-actions / all
constant `MIN_JSON_PARSE_LEN` is never used
error: constant `MIN_JSON_PARSE_LEN` is never used
--> core/tauri/src/ipc/format_callback.rs:23:7
|
23 | const MIN_JSON_PARSE_LEN: usize = 10_240;
| ^^^^^^^^^^^^^^^^^^
Check failure on line 18 in core/tauri/src/ipc/format_callback.rs
github-actions / all
constant `MAX_JSON_STR_LEN` is never used
error: constant `MAX_JSON_STR_LEN` is never used
--> core/tauri/src/ipc/format_callback.rs:18:7
|
18 | const MAX_JSON_STR_LEN: usize = usize::pow(2, 30) - 2;
| ^^^^^^^^^^^^^^^^
|
= note: `-D dead-code` implied by `-D warnings`