Skip to content

Mismatched error during compilation with serde_codegen #3

Description

@johnboy14

I get the following error when I use cargo build

.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.1/build.rs:17:33: 17:46 error: mismatched types:
 expected `&mut syntex::Registry`,
    found `&mut inner::syntex::Registry`
(expected struct `syntex::Registry`,
    found struct `inner::syntex::Registry`) [E0308]
/home/.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.1/build.rs:17         serde_codegen::register(&mut registry);
                                                                                                                            ^~~~~~~~~~~~~
/home/.cargo/registry/src/github.com-88ac128001ac3a9a/textnonce-0.3.1/build.rs:17:33: 17:46 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
Could not compile `textnonce`.

To learn more, run the command again with --verbose.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions