Skip to content

merge main

merge main #467

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

Clippy (MSRV)

5 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 5
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>`

Check failure on line 220 in masp_primitives/src/convert.rs

See this annotation in the file changed.

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

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

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

Check failure on line 211 in masp_primitives/src/convert.rs

See this annotation in the file changed.

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

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

error[E0277]: the trait bound `convert::AllowedConversion: std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not satisfied
   --> masp_primitives/src/convert.rs:211:66
    |
211 |             AllowedConversion::from(a) + AllowedConversion::from(b)
    |                                          ----------------------- ^ the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not implemented for `convert::AllowedConversion`
    |                                          |
    |                                          required by a bound introduced by this call
    |
    = help: the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i128>>` is implemented for `convert::AllowedConversion`

Check failure on line 211 in masp_primitives/src/convert.rs

See this annotation in the file changed.

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

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

error[E0277]: the trait bound `convert::AllowedConversion: std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not satisfied
   --> masp_primitives/src/convert.rs:211:37
    |
211 |             AllowedConversion::from(a) + AllowedConversion::from(b)
    |             ----------------------- ^ the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not implemented for `convert::AllowedConversion`
    |             |
    |             required by a bound introduced by this call
    |
    = help: the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i128>>` is implemented for `convert::AllowedConversion`

Check failure on line 210 in masp_primitives/src/convert.rs

See this annotation in the file changed.

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

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

error[E0277]: the trait bound `convert::AllowedConversion: std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not satisfied
   --> masp_primitives/src/convert.rs:210:37
    |
210 |             AllowedConversion::from(a.clone() + b.clone()),
    |             ----------------------- ^^^^^^^^^^^^^^^^^^^^^ the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i32>>` is not implemented for `convert::AllowedConversion`
    |             |
    |             required by a bound introduced by this call
    |
    = help: the trait `std::convert::From<transaction::components::amount::ValueSum<asset_type::AssetType, i128>>` is implemented for `convert::AllowedConversion`