-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
entry id not found when using copy and serde_derive #37795
Comments
I think I'm getting the same error. The fix was merged 15 minutes ago. Is there a way to get this working or do I need to wait for the nightly build? (Is it actually built every night?) This is my code: #![feature(proc_macro)]
#[macro_use]
extern crate serde_derive;
extern crate serde;
extern crate serde_json;
extern crate rustc_serialize;
extern crate image;
use std::io::BufRead;
#[derive(Debug, PartialEq, Serialize, Deserialize)]
enum Action {
Undo,
Redo,
Crop {x: u32, y: u32, width: u32, height: u32},
FlipHorizontal,
FlipVertical,
Resize {width: u32, height: u32},
} This is the full error with stacktrace:
Version info:
|
Fixed in #37793. |
@jseyfried I'm still getting the same error in the latest nightly. Is this a separate issue? Did that not get put into the latest nightly? With the same code as in my comment above:
Versions:
|
It still getting error with BACKTRACE
|
@jseyfried Any idea when this will make it into nightly? Still getting this error on the latest one.
|
@sunjay This is fixed in the latest nightly ( The earlier errors, like I just tested the code from #37795 (comment) in a fresh cargo project and it compiles successfully. |
@jseyfried Thank you so much! I ran |
My
cargo build
is failing with a panic, directing me here to post information.I tried this code:
guid.rs
:entity_id.rs
:I expected to see this happen: no panics
Instead, this happened: panic
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: