chore: upgrade to core 2.32.0 #3756
clippy
10 warnings
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 0 |
| Warning | 10 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.88.0 (6b00bc388 2025-06-23)
- cargo 1.88.0 (873a06493 2025-05-10)
- clippy 0.1.88 (6b00bc3880 2025-06-23)
Annotations
Check warning on line 9 in packages/target-tauri/src-tauri/src/themes/mod.rs
github-actions / clippy
module has the same name as its containing module
warning: module has the same name as its containing module
--> packages/target-tauri/src-tauri/src/themes/mod.rs:9:1
|
9 | mod themes;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
Check warning on line 9 in packages/target-tauri/src-tauri/src/themes/mod.rs
github-actions / clippy
module has the same name as its containing module
warning: module has the same name as its containing module
--> packages/target-tauri/src-tauri/src/themes/mod.rs:9:1
|
9 | mod themes;
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
Check warning on line 40 in packages/target-tauri/crates/user-notify/src/platform_impl/xdg/mod.rs
github-actions / clippy
very complex type used. Consider factoring parts into `type` definitions
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/target-tauri/crates/user-notify/src/platform_impl/xdg/mod.rs:40:14
|
40 | handler: OnceLock<Arc<Box<dyn Fn(crate::NotificationResponse) + Send + Sync + 'static>>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
github-actions / clippy
implementation of inherent method `to_string(&self) -> String` for type `xdg_category::XdgNotificationCategory`
warning: implementation of inherent method `to_string(&self) -> String` for type `xdg_category::XdgNotificationCategory`
--> packages/target-tauri/crates/user-notify/src/platform_impl/xdg/category.rs:4:5
|
4 | / pub fn to_string(self) -> String {
5 | | use XdgNotificationCategory::*;
6 | | match &self {
7 | | Call => "call",
... |
33 | | .to_owned()
34 | | }
| |_____^
|
= help: implement trait `Display` for type `xdg_category::XdgNotificationCategory` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inherent_to_string
= note: `#[warn(clippy::inherent_to_string)]` on by default
Check warning on line 44 in packages/target-tauri/crates/system_permissions/src/lib.rs
github-actions / clippy
unused variable: `callback`
warning: unused variable: `callback`
--> packages/target-tauri/crates/system_permissions/src/lib.rs:44:44
|
44 | pub fn request(permission: PermissionKind, callback: Box<dyn FnOnce(bool)>) -> Result<(), Error> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback`
Check warning on line 44 in packages/target-tauri/crates/system_permissions/src/lib.rs
github-actions / clippy
unused variable: `permission`
warning: unused variable: `permission`
--> packages/target-tauri/crates/system_permissions/src/lib.rs:44:16
|
44 | pub fn request(permission: PermissionKind, callback: Box<dyn FnOnce(bool)>) -> Result<(), Error> {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission`
Check warning on line 33 in packages/target-tauri/crates/system_permissions/src/lib.rs
github-actions / clippy
unused variable: `permission`
warning: unused variable: `permission`
--> packages/target-tauri/crates/system_permissions/src/lib.rs:33:14
|
33 | pub fn check(permission: PermissionKind) -> Result<Status, Error> {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission`
|
= note: `#[warn(unused_variables)]` on by default
Check warning on line 44 in packages/target-tauri/crates/system_permissions/src/lib.rs
github-actions / clippy
unused variable: `callback`
warning: unused variable: `callback`
--> packages/target-tauri/crates/system_permissions/src/lib.rs:44:44
|
44 | pub fn request(permission: PermissionKind, callback: Box<dyn FnOnce(bool)>) -> Result<(), Error> {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback`
Check warning on line 44 in packages/target-tauri/crates/system_permissions/src/lib.rs
github-actions / clippy
unused variable: `permission`
warning: unused variable: `permission`
--> packages/target-tauri/crates/system_permissions/src/lib.rs:44:16
|
44 | pub fn request(permission: PermissionKind, callback: Box<dyn FnOnce(bool)>) -> Result<(), Error> {
| ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission`
Check warning on line 40 in packages/target-tauri/crates/user-notify/src/platform_impl/xdg/mod.rs
github-actions / clippy
very complex type used. Consider factoring parts into `type` definitions
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/target-tauri/crates/user-notify/src/platform_impl/xdg/mod.rs:40:14
|
40 | handler: OnceLock<Arc<Box<dyn Fn(crate::NotificationResponse) + Send + Sync + 'static>>>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default