Skip to content

ICE when using deriving_eq with newtype and tuple structs #4624

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

Closed
brendanzab opened this issue Jan 25, 2013 · 2 comments
Closed

ICE when using deriving_eq with newtype and tuple structs #4624

brendanzab opened this issue Jan 25, 2013 · 2 comments
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) A-syntaxext Area: Syntax extensions I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Milestone

Comments

@brendanzab
Copy link
Member

#[deriving_eq]
struct Foo(int);

fn main() {}
deriving_eq.rs:1:0: 2:6 error: internal compiler error: unimplemented unnamed fields with `deriving_eq`
deriving_eq.rs:1 #[deriving_eq]
deriving_eq.rs:2 struct Foo(int);

#[deriving_eq]
struct Foo<T>(T);

fn main() {}
deriving_eq.rs:1:0: 2:6 error: internal compiler error: unimplemented unnamed fields with `deriving_eq`
deriving_eq.rs:1 #[deriving_eq]
deriving_eq.rs:2 struct Foo<T>(T);

#[deriving_eq]
struct Foo(int,int);

fn main() {}
deriving_eq.rs:1:0: 2:6 error: internal compiler error: unimplemented unnamed fields with `deriving_eq`
deriving_eq.rs:1 #[deriving_eq]
deriving_eq.rs:2 struct Foo(int,int);
@brendanzab
Copy link
Member Author

@pcwalton: Might be your area of expertise.

@bstrie
Copy link
Contributor

bstrie commented Apr 29, 2013

This appears to be fixed.

@bstrie bstrie closed this as completed Apr 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-frontend Area: Compiler frontend (errors, parsing and HIR) A-syntaxext Area: Syntax extensions I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

2 participants