-
-
Notifications
You must be signed in to change notification settings - Fork 873
Closed
Labels
Description
This started happening in a crate that uses Serde with code generation.
- Stable Rust 1.5
- serde_codegen 0.6.7
- syntex 0.24.0 (0.25.0 exhibits the same behavior)
Output from cargo build
Compiling serde_codegen v0.6.7
/Users/user/.cargo/registry/src/github.1485827954.workers.dev-88ac128001ac3a9a/serde_codegen-0.6.7/build.rs:12:33: 12:46 error: mismatched types:
expected `&mut syntex::Registry`,
found `&mut inner::syntex::Registry`
(expected struct `syntex::Registry`,
found struct `inner::syntex::Registry`) [E0308]
/Users/user/.cargo/registry/src/github.1485827954.workers.dev-88ac128001ac3a9a/serde_codegen-0.6.7/build.rs:12 quasi_codegen::register(&mut registry);
^~~~~~~~~~~~~
/Users/user/.cargo/registry/src/github.1485827954.workers.dev-88ac128001ac3a9a/serde_codegen-0.6.7/build.rs:12:33: 12:46 help: run `rustc --explain E0308` to see a detailed explanation
error: aborting due to previous error
Could not compile `serde_codegen`.