GitHub Actions / Clippy (MSRV)
failed
Oct 28, 2024 in 0s
Clippy (MSRV)
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.81.0 (eeb90cda1 2024-09-04)
- cargo 1.81.0 (2dbb1af80 2024-08-20)
- clippy 0.1.81 (eeb90cd 2024-09-04)
Annotations
Check failure on line 148 in zaino-serve/src/rpc/service.rs
github-actions / Clippy (MSRV)
unneeded `return` statement
error: unneeded `return` statement
--> zaino-serve/src/rpc/service.rs:148:21
|
148 | return Err(tonic::Status::internal(e.to_string()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
148 - return Err(tonic::Status::internal(e.to_string()));
148 + Err(tonic::Status::internal(e.to_string()))
|
Check failure on line 148 in zaino-serve/src/rpc/service.rs
github-actions / Clippy (MSRV)
unneeded `return` statement
error: unneeded `return` statement
--> zaino-serve/src/rpc/service.rs:148:21
|
148 | return Err(tonic::Status::internal(e.to_string()));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
148 - return Err(tonic::Status::internal(e.to_string()));
148 + Err(tonic::Status::internal(e.to_string()))
|
Loading