Skip to content

Feat 3.5 implementation #667

Feat 3.5 implementation

Feat 3.5 implementation #667

GitHub Actions / clippy failed Sep 11, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (3)

multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs|371 col 5| warning: this function has too many arguments (8/7)
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:371:5
|
371 | / fn add_refund_batch_tx_single_payment_should_fail(
372 | | &mut self,
373 | | from_address: TestSCAddress,
374 | | to_address: TestSCAddress,
... |
379 | | expected_error: &str,
380 | | ) {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: #[warn(clippy::too_many_arguments)] on by default
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs|872 col 9| warning: the borrowed expression implements the required traits
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:872:9
|
872 | &BigUint::from(10_000u64),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: BigUint::from(10_000u64)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: #[warn(clippy::needless_borrows_for_generic_args)] on by default
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs|878 col 9| warning: the borrowed expression implements the required traits
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:878:9
|
878 | &BigUint::from(10_000u64),
| ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: BigUint::from(10_000u64)
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args

Filtered Findings (0)

Annotations

Check warning on line 371 in multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs#L371

warning: this function has too many arguments (8/7)
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:371:5
    |
371 | /     fn add_refund_batch_tx_single_payment_should_fail(
372 | |         &mut self,
373 | |         from_address: TestSCAddress,
374 | |         to_address: TestSCAddress,
...   |
379 | |         expected_error: &str,
380 | |     ) {
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default
Raw output
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:371:5:w:warning: this function has too many arguments (8/7)
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:371:5
    |
371 | /     fn add_refund_batch_tx_single_payment_should_fail(
372 | |         &mut self,
373 | |         from_address: TestSCAddress,
374 | |         to_address: TestSCAddress,
...   |
379 | |         expected_error: &str,
380 | |     ) {
    | |_____^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default


__END__

Check warning on line 872 in multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs#L872

warning: the borrowed expression implements the required traits
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:872:9
    |
872 |         &BigUint::from(10_000u64),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `BigUint::from(10_000u64)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Raw output
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:872:9:w:warning: the borrowed expression implements the required traits
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:872:9
    |
872 |         &BigUint::from(10_000u64),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `BigUint::from(10_000u64)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default


__END__

Check warning on line 878 in multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs#L878

warning: the borrowed expression implements the required traits
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:878:9
    |
878 |         &BigUint::from(10_000u64),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `BigUint::from(10_000u64)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
Raw output
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:878:9:w:warning: the borrowed expression implements the required traits
   --> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:878:9
    |
878 |         &BigUint::from(10_000u64),
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `BigUint::from(10_000u64)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args


__END__