Skip to content

fix tests i32->i128 #469

fix tests i32->i128

fix tests i32->i128 #469

GitHub Actions / Clippy (MSRV) failed Sep 22, 2023 in 0s

Clippy (MSRV)

1 error

Details

Results

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

Versions

  • rustc 1.70.0 (90c541806 2023-05-31)
  • cargo 1.70.0 (ec8a8a0ca 2023-04-25)
  • clippy 0.1.70 (90c5418 2023-05-31)

Annotations

Check failure on line 45 in masp_proofs/benches/convert.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

the trait bound `masp_primitives::convert::AllowedConversion: std::convert::From<masp_primitives::transaction::components::ValueSum<masp_primitives::asset_type::AssetType, i32>>` is not satisfied

error[E0277]: the trait bound `masp_primitives::convert::AllowedConversion: std::convert::From<masp_primitives::transaction::components::ValueSum<masp_primitives::asset_type::AssetType, i32>>` is not satisfied
  --> masp_proofs/benches/convert.rs:45:10
   |
45 |         .into();
   |          ^^^^ the trait `std::convert::From<masp_primitives::transaction::components::ValueSum<masp_primitives::asset_type::AssetType, i32>>` is not implemented for `masp_primitives::convert::AllowedConversion`
   |
   = help: the trait `std::convert::From<masp_primitives::transaction::components::ValueSum<masp_primitives::asset_type::AssetType, i128>>` is implemented for `masp_primitives::convert::AllowedConversion`
   = note: required for `masp_primitives::transaction::components::ValueSum<masp_primitives::asset_type::AssetType, i32>` to implement `std::convert::Into<masp_primitives::convert::AllowedConversion>`