Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

フォームドメインのリファクタリング #634

Draft
wants to merge 33 commits into
base: main
Choose a base branch
from

feat: Verified 型を用いてAnswerEntryのPostを表現する

998c919
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

フォームドメインのリファクタリング #634

feat: Verified 型を用いてAnswerEntryのPostを表現する
998c919
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Dec 30, 2024 in 0s

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 25 in domain/src/types/verified.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

methods called `new` usually return `Self`

error: methods called `new` usually return `Self`
  --> domain/src/types/verified.rs:23:5
   |
23 | /     fn new(inner: T) -> Verified<T> {
24 | |         Verified { inner }
25 | |     }
   | |_____^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_ret_no_self
   = note: `-D clippy::new-ret-no-self` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::new_ret_no_self)]`

Check failure on line 8 in domain/src/form/answer/service.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused imports: `AnswerTitle` and `FormId`

error: unused imports: `AnswerTitle` and `FormId`
 --> domain/src/form/answer/service.rs:8:39
  |
8 |         answer::models::{AnswerEntry, AnswerTitle},
  |                                       ^^^^^^^^^^^
9 |         models::{FormId, Visibility},
  |                  ^^^^^^

Check failure on line 7 in domain/src/form/answer/models.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `std::collections::HashMap`

error: unused import: `std::collections::HashMap`
 --> domain/src/form/answer/models.rs:7:5
  |
7 | use std::collections::HashMap;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: `-D unused-imports` implied by `-D warnings`
  = help: to override `-D warnings` add `#[allow(unused_imports)]`