[bug] tauri::command
macro causes clippy::items-after-statements
lint
#4639
Labels
priority: 3 low
scope: core
Core packages of Tauri
status: backlog
Issue is ready and we can work on it
type: bug
Describe the bug
This is part of clippy's pedantic lint group so it's not on by default, but some part of the
tauri::command
macro must generate items after they are used in statements: https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statementsReproduction
Run
cargo clippy -- -Wclippy::pedantic
in any tauri app that usestauri::command
Expected behavior
the macro should generated well-formatted rust code so that you don't get clippy lints on it
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: