Skip to content

Merge pull request #19 from AbstractSDK/adair/abstract-0.25 #42

Merge pull request #19 from AbstractSDK/adair/abstract-0.25

Merge pull request #19 from AbstractSDK/adair/abstract-0.25 #42

GitHub Actions / clippy failed Nov 28, 2024 in 0s

clippy

5 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 5
Warning 0
Note 0
Help 0

Versions

  • rustc 1.84.0-beta.1 (b4297a573 2024-11-26)
  • cargo 1.84.0-beta.1 (66221abde 2024-11-19)
  • clippy 0.1.84 (b4297a573b 2024-11-26)

Annotations

Check failure on line 60 in packages/ibcmail/src/server/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
  --> packages/ibcmail/src/server/api.rs:60:6
   |
60 | impl<'a, T: ServerInterface> MailServer<'a, T> {
   |      ^^                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
60 - impl<'a, T: ServerInterface> MailServer<'a, T> {
60 + impl<T: ServerInterface> MailServer<'_, T> {
   |

Check failure on line 38 in packages/ibcmail/src/server/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
  --> packages/ibcmail/src/server/api.rs:38:6
   |
38 | impl<'a, T: ServerInterface> MailServer<'a, T> {
   |      ^^                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
   |
38 - impl<'a, T: ServerInterface> MailServer<'a, T> {
38 + impl<T: ServerInterface> MailServer<'_, T> {
   |

Check failure on line 32 in packages/ibcmail/src/client/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the following explicit lifetimes could be elided: 'a

error: the following explicit lifetimes could be elided: 'a
  --> packages/ibcmail/src/client/api.rs:32:6
   |
32 | impl<'a, T: ClientInterface> MailClient<'a, T> {
   |      ^^                                 ^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
   = note: `-D clippy::needless-lifetimes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
   |
32 - impl<'a, T: ClientInterface> MailClient<'a, T> {
32 + impl<T: ClientInterface> MailClient<'_, T> {
   |

Check failure on line 20 in packages/ibcmail/src/server/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

elided lifetime has a name

error: elided lifetime has a name
  --> packages/ibcmail/src/server/api.rs:20:63
   |
20 |     fn mail_server<'a>(&'a self, deps: Deps<'a>) -> MailServer<Self> {
   |                    -- lifetime `'a` declared here             ^ this elided lifetime gets resolved as `'a`

Check failure on line 14 in packages/ibcmail/src/client/api.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

elided lifetime has a name

error: elided lifetime has a name
  --> packages/ibcmail/src/client/api.rs:14:63
   |
14 |     fn mail_client<'a>(&'a self, deps: Deps<'a>) -> MailClient<Self> {
   |                    -- lifetime `'a` declared here             ^ this elided lifetime gets resolved as `'a`
   |
   = note: `-D elided-named-lifetimes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(elided_named_lifetimes)]`