Erc4626 extension #2183
check.yml
on: pull_request
nightly / fmt
15s
nightly / doc
31s
ubuntu / stable / features
1m 49s
ubuntu / stable / typos
3s
Matrix: clippy
Annotations
10 warnings
ubuntu / stable / typos
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nightly / fmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
nightly / doc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
stable / clippy:
contracts/src/token/erc20/extensions/erc4626.rs#L666
[clippy] reported by reviewdog 🐶
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:666:51
|
666 | let max_assets = self.max_withdraw(owner, &erc20)?;
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
Raw Output:
contracts/src/token/erc20/extensions/erc4626.rs:666:51:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:666:51
|
666 | let max_assets = self.max_withdraw(owner, &erc20)?;
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
__END__
|
stable / clippy:
contracts/src/token/erc20/extensions/erc4626.rs#L695
[clippy] reported by reviewdog 🐶
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:695:49
|
695 | let max_shares = self.max_redeem(owner, &erc20);
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
contracts/src/token/erc20/extensions/erc4626.rs:695:49:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:695:49
|
695 | let max_shares = self.max_redeem(owner, &erc20);
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
beta / clippy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
beta / clippy:
contracts/src/token/erc20/extensions/erc4626.rs#L666
[clippy] reported by reviewdog 🐶
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:666:51
|
666 | let max_assets = self.max_withdraw(owner, &erc20)?;
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
Raw Output:
contracts/src/token/erc20/extensions/erc4626.rs:666:51:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:666:51
|
666 | let max_assets = self.max_withdraw(owner, &erc20)?;
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `-W clippy::needless-borrow` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_borrow)]`
__END__
|
beta / clippy:
contracts/src/token/erc20/extensions/erc4626.rs#L695
[clippy] reported by reviewdog 🐶
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:695:49
|
695 | let max_shares = self.max_redeem(owner, &erc20);
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Raw Output:
contracts/src/token/erc20/extensions/erc4626.rs:695:49:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> contracts/src/token/erc20/extensions/erc4626.rs:695:49
|
695 | let max_shares = self.max_redeem(owner, &erc20);
| ^^^^^^ help: change this to: `erc20`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
__END__
|
ubuntu / stable / features
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|