Diesel-async usage example #819
clippy-fmt.yml
on: pull_request
rustfmt check
13s
clippy check
24s
Annotations
1 error
clippy check:
databases/diesel-async/src/models.rs#L19
[clippy] reported by reviewdog 🐶
error: associated function `new` is never used
--> databases/diesel-async/src/models.rs:22:12
|
19 | impl NewItem {
| ------------ associated function in this implementation
...
22 | pub fn new(name: impl Into<String>) -> Self {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Raw Output:
databases/diesel-async/src/models.rs:19:1:e:error: associated function `new` is never used
--> databases/diesel-async/src/models.rs:22:12
|
19 | impl NewItem {
| ------------ associated function in this implementation
...
22 | pub fn new(name: impl Into<String>) -> Self {
| ^^^
|
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
__END__
|