Skip to content

Bump axum from 0.7.4 to 0.7.5 in /axum1 #534

Bump axum from 0.7.4 to 0.7.5 in /axum1

Bump axum from 0.7.4 to 0.7.5 in /axum1 #534

GitHub Actions / clippy failed Apr 12, 2024 in 0s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check failure on line 11 in src/routes/recipe/extractors.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

error: field `0` is never read
  --> src/routes/recipe/extractors.rs:11:26
   |
11 | pub struct RecipeCreator(uuid::Uuid);
   |            ------------- ^^^^^^^^^^
   |            |
   |            field in this struct
   |
   = note: `RecipeCreator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
   |
11 | pub struct RecipeCreator(());
   |                          ~~