ICE when using deriving_eq with newtype and tuple structs

cf26886
Opened by Brendan Zabarauskas at 2013-04-29 16:10:10
#[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);
  1. @pcwalton: Might be your area of expertise.

    Brendan Zabarauskas at 2013-01-25 03:49:27

  2. This appears to be fixed.

    bstrie at 2013-04-29 16:10:10