Skip to content

Bump serde_json from 1.0.109 to 1.0.120 in /axum1 #625

Bump serde_json from 1.0.109 to 1.0.120 in /axum1

Bump serde_json from 1.0.109 to 1.0.120 in /axum1 #625

GitHub Actions / clippy failed Jul 2, 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.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

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(());
   |                          ~~