Skip to content

evmap doesn't build since rust 1.90.0 release #16

Description

@dare-to-recurse

Hi

I noticed by chance that this lib no longer builds, and I've triaged it to this PR: rust-lang/rust#138340 which got merged into rust 1.90.0.

The compile error is as follows (multiple instances omitted for brevity):

error[E0277]: the size for values of type `A` cannot be known at compilation time
   --> src/stable_hash_eq.rs:122:17
    |
122 |     {A: ?Sized} (A,),
    |      -          ^^^^ doesn't have a size known at compile-time
    |      |
    |      this type parameter needs to be `Sized`
    |
    = note: required for `(A,)` to implement `Eq`
note: required by a bound in `StableHashEq`
   --> src/stable_hash_eq.rs:11:32
    |
 11 | pub trait StableHashEq: Hash + Eq + sealed_hash_eq::Sealed {}
    |                                ^^ required by this bound in `StableHashEq`
help: consider removing the `?Sized` bound to make the type parameter `Sized`
    |
 39 -             impl$(<$($a,)*$($T$(:?$Sized)?,)*>)? StableHashEq for $Type
 39 +             impl$(<$($a,)*$($T$()?,)*>)? StableHashEq for $Type
    |

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions