refactor: Form に AuthorizationGuardDefinitions を実装 #1349
GitHub Actions / clippy
failed
Dec 15, 2024 in 1s
clippy
3 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 3 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
-
rustc 1.83.0 (90b35a623 2024-11-26)
-
cargo 1.83.0 (5ffbef321 2024-10-29)
-
cargo 1.83.0 (5ffbef321 2024-10-29)
Annotations
Check failure on line 63 in presentation/src/form_handler.rs
github-actions / clippy
unused variable: `form_use_case`
error: unused variable: `form_use_case`
--> presentation/src/form_handler.rs:63:9
|
63 | let form_use_case = FormUseCase {
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_form_use_case`
Check failure on line 61 in presentation/src/form_handler.rs
github-actions / clippy
unused variable: `offset_and_limit`
error: unused variable: `offset_and_limit`
--> presentation/src/form_handler.rs:61:11
|
61 | Query(offset_and_limit): Query<OffsetAndLimit>,
| ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset_and_limit`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
Check failure on line 62 in presentation/src/form_handler.rs
github-actions / clippy
this function depends on never type fallback being `()`
error: this function depends on never type fallback being `()`
--> presentation/src/form_handler.rs:59:1
|
59 | / pub async fn public_form_list_handler(
60 | | State(repository): State<RealInfrastructureRepository>,
61 | | Query(offset_and_limit): Query<OffsetAndLimit>,
62 | | ) -> impl IntoResponse {
| |______________________^
|
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #123748 <https://github.com/rust-lang/rust/issues/123748>
= help: specify the types explicitly
note: in edition 2024, the requirement `!: axum::response::IntoResponse` will fail
--> presentation/src/form_handler.rs:62:24
|
62 | ) -> impl IntoResponse {
| ________________________^
63 | | let form_use_case = FormUseCase {
64 | | form_repository: repository.form_repository(),
65 | | notification_repository: repository.notification_repository(),
... |
76 | | // }
77 | | }
| |_^
= note: `-D dependency-on-unit-never-type-fallback` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dependency_on_unit_never_type_fallback)]`
Loading