These are chat archives for rust-lang/rust

Sep 2017
Roman Proskuryakov
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
Sep 24 2017 10:13
@kpp the intuitive way just works:
enum A {
    B { a: u16, c: u32 },
Roman Proskuryakov
Sep 24 2017 10:14
the example was at the bottom of docs
Cory Duplantis
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
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
Sep 24 2017 22:18
Does it reproduce for you?