chore(deps): bump codecov/codecov-action from 4 to 5 #316
Annotations
9 errors and 7 warnings
Run actions-rs-plus/clippy-check@v2:
src/endpoints/auth.rs#L55
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/auth.rs:55:10
|
55 | impl<'a> Endpoint for Request<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
note: the lint level is defined here
--> src/lib.rs:2:5
|
2 | clippy::all,
| ^^^^^^^^^^^
= note: `#[deny(clippy::needless_lifetimes)]` implied by `#[deny(clippy::all)]`
help: elide the lifetimes
|
55 - impl<'a> Endpoint for Request<'a> {
55 + impl Endpoint for Request<'_> {
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/balance.rs#L42
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/balance.rs:42:10
|
42 | impl<'a> Endpoint for Request<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
42 - impl<'a> Endpoint for Request<'a> {
42 + impl Endpoint for Request<'_> {
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/feed_items.rs#L109
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/feed_items.rs:109:10
|
109 | impl<'a, C> Endpoint for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
109 - impl<'a, C> Endpoint for Request<'a, C>
109 + impl<C> Endpoint for Request<'_, C>
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/pots/list.rs#L17
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/pots/list.rs:17:6
|
17 | impl<'a> Endpoint for Request<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
17 - impl<'a> Endpoint for Request<'a> {
17 + impl Endpoint for Request<'_> {
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/pots/deposit.rs#L10
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/pots/deposit.rs:10:6
|
10 | impl<'a> Endpoint for Request<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
10 - impl<'a> Endpoint for Request<'a> {
10 + impl Endpoint for Request<'_> {
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/pots/withdraw.rs#L10
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/pots/withdraw.rs:10:6
|
10 | impl<'a> Endpoint for Request<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
10 - impl<'a> Endpoint for Request<'a> {
10 + impl Endpoint for Request<'_> {
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/transactions/list.rs#L20
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/transactions/list.rs:20:6
|
20 | impl<'a, C> Endpoint for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
20 - impl<'a, C> Endpoint for Request<'a, C>
20 + impl<C> Endpoint for Request<'_, C>
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/transactions/get.rs#L18
error: the following explicit lifetimes could be elided: 'a
--> src/endpoints/transactions/get.rs:18:6
|
18 | impl<'a, C> Endpoint for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
18 - impl<'a, C> Endpoint for Request<'a, C>
18 + impl<C> Endpoint for Request<'_, C>
|
|
Run actions-rs-plus/clippy-check@v2
Clippy had exited with the 101 exit code
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/accounts.rs#L87
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/accounts.rs:87:31
|
87 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
note: the lint level is defined here
--> src/lib.rs:8:9
|
8 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::unnecessary_literal_bound)]` implied by `#[warn(clippy::pedantic)]`
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/auth.rs#L59
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/auth.rs:59:31
|
59 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/balance.rs#L45
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/balance.rs:45:31
|
45 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/feed_items.rs#L115
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/feed_items.rs:115:31
|
115 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/pots/list.rs#L20
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/pots/list.rs:20:27
|
20 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/transactions/list.rs#L26
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/transactions/list.rs:26:27
|
26 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/who_am_i.rs#L10
warning: returning a `str` unnecessarily tied to the lifetime of arguments
--> src/endpoints/who_am_i.rs:10:27
|
10 | fn endpoint(&self) -> &str {
| ^^^^ help: try: `&'static str`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_literal_bound
|
Loading