Skip to content

#[derive] for custom traits is being depreciated #421

@elliotekj

Description

@elliotekj

Firstly, to everyone who has contributed to this book, thank you. I'm thoroughly enjoying it so far.

As per an error when compiling with Rust 1.14.0 (e8a012324 2016-12-16), #[derive] for custom traits is not considered stable enough for use and is being removed in v1.15. It's actual removal still seems a little in flux an Rust nightly is in v1.16 and has yet to see it's removal. As things stand at the moment though, listing 5-6 in the structs chapter will fail to compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions