rust-lang/rust — pull request #17089 by erickt (2014-09-07 22:36:54+00:00)
Title: Extend #[deriving(...)] helpers to expose field attributes

This pull request adds field attribute support to the `syntax::ext::deriving` library. This allows `#[deriving(...)]` handlers to work with attributes. For example, this could enable the `#[deriving(Encodable, Decodable)]` to customize how a field name is serialized, which is useful if implementing a schema that uses a field name that is a rust keyword.

This also includes some minor cleanup of a couple bits of `libsyntax`.