Merge pull request #19 from AbstractSDK/adair/abstract-0.25 #42
Annotations
5 errors
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/server/api.rs#L60
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> {
|
|
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/server/api.rs#L38
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> {
|
|
the following explicit lifetimes could be elided: 'a:
packages/ibcmail/src/client/api.rs#L32
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> {
|
|
elided lifetime has a name:
packages/ibcmail/src/server/api.rs#L20
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`
|
elided lifetime has a name:
packages/ibcmail/src/client/api.rs#L14
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)]`
|