• Alk@sh.itjust.works
    link
    fedilink
    arrow-up
    23
    ·
    3 days ago

    Copied from the other repost:

    Have you erased the continuation of the message that is saying something about “similar names, but are actually two distinct types”?

    It is a common error if you have two dependecies that export the same third dependency and your code makes an assumption that the versions of the third dep match.

    All other languages either straight-up don’t support multiple versions of the same dep, or throw random errors at runtime. So this message is a consequence of rust supporting things that other langs only dream of.

    • bratorange@feddit.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      Hey thank you guys for your attempt to help, although I have already figured it out. I feel this is not the place for support requests, and my intention was rather just to share this funny error statement.