Skip to content

Is it possible that generics don't work? #4

@wucke13

Description

@wucke13

I have a struct Envelope<M>. Whenever I annotate this struct with derive(DecodeOwned), I get the following error:

error[E0412]: cannot find type `M` in this scope
  --> src/msgs.rs:51:21
   |
51 | pub struct Envelope<M>
   |                     ^ not found in this scope

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