Skip to content

regression: trait no longer implemented  #61563

Closed

Description

---- src/lib.rs - Vec<N, A>::from (line 1087) stdout ----
error[E0277]: the trait bound `sized_vec::Vec<_, _>: std::convert::From<generic_array::GenericArray<{integer}, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B1>>>` is not satisfied
 --> src/lib.rs:1095:28
  |
9 | let good_vec: Vec<U3, _> = Vec::from(array);
  |                            ^^^^^^^^^ the trait `std::convert::From<generic_array::GenericArray<{integer}, typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B1>>>` is not implemented for `sized_vec::Vec<_, _>`
  |
  = help: the following implementations were found:
            <sized_vec::Vec<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, A> as std::convert::From<[A; 16]>>
            <sized_vec::Vec<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B1>, A> as std::convert::From<[A; 17]>>
            <sized_vec::Vec<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B0>, A> as std::convert::From<[A; 18]>>
            <sized_vec::Vec<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UInt<typenum::uint::UTerm, typenum::bit::B1>, typenum::bit::B0>, typenum::bit::B0>, typenum::bit::B1>, typenum::bit::B1>, A> as std::convert::From<[A; 19]>>
          and 28 others
  = note: required by `std::convert::From::from`

error: aborting due to previous error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions