Skip to content

docs: 古くなったドキュメントの削除 #1429

docs: 古くなったドキュメントの削除

docs: 古くなったドキュメントの削除 #1429

GitHub Actions / clippy failed Jan 19, 2025 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
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 113 in presentation/src/handlers/form/answer_handler.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function depends on never type fallback being `()`

error: this function depends on never type fallback being `()`
   --> presentation/src/handlers/form/answer_handler.rs:109:1
    |
109 | / pub async fn get_answer_by_form_id_handler(
110 | |     Extension(_user): Extension<User>,
111 | |     State(repository): State<RealInfrastructureRepository>,
112 | |     Path(_form_id): Path<FormId>,
113 | | ) -> 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/handlers/form/answer_handler.rs:113:24
    |
113 |   ) -> impl IntoResponse {
    |  ________________________^
114 | |     let _form_answer_use_case = AnswerUseCase {
115 | |         answer_repository: repository.form_answer_repository(),
116 | |         form_repository: repository.form_repository(),
...   |
157 | |     // }
158 | | }
    | |_^

Check failure on line 59 in presentation/src/handlers/form/answer_handler.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function depends on never type fallback being `()`

error: this function depends on never type fallback being `()`
   --> presentation/src/handlers/form/answer_handler.rs:55:1
    |
55  | / pub async fn get_answer_handler(
56  | |     Extension(_user): Extension<User>,
57  | |     State(repository): State<RealInfrastructureRepository>,
58  | |     Path(_answer_id): Path<AnswerId>,
59  | | ) -> 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/handlers/form/answer_handler.rs:59:24
    |
59  |   ) -> impl IntoResponse {
    |  ________________________^
60  | |     let _form_answer_use_case = AnswerUseCase {
61  | |         answer_repository: repository.form_answer_repository(),
62  | |         form_repository: repository.form_repository(),
...   |
106 | |     //     .into_response()
107 | | }
    | |_^
    = 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)]`