Skip to content

merge main

merge main #467

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

Clippy (MSRV)

4 errors

Details

Results

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