These are chat archives for rust-lang/rust

24th
Sep 2017
Roman Proskuryakov
@kpp
Sep 24 2017 10:02
how do I create named fields in enum invariants?
I c. It is like Move { x: i32, y: i32 },
Sergey Noskov
@Albibek
Sep 24 2017 10:13
@kpp the intuitive way just works:
enum A {
    B { a: u16, c: u32 },
    Z(u16),
}
Roman Proskuryakov
@kpp
Sep 24 2017 10:14
the example was at the bottom of docs
ty
Cory Duplantis
@ctfhacker
Sep 24 2017 21:09
Has anyone attempted to implement traits based on struct attributes?
I have one main struct and I need to impl several traits based on one of the attributes.. I'm not quite sure how to accomplish this
Tim
@tikue
Sep 24 2017 22:01
a recent nightly broke users of tarpc with the error can't find crate for '_serde'
I'm not sure how to begin debugging this
Denis Lisov
@tanriol
Sep 24 2017 22:18
Does it reproduce for you?