summary refs log tree commit diff
path: root/src/libsyntax_ext/deriving/decodable.rs
AgeCommit message (Collapse)AuthorLines
2016-03-14derive: improve hygiene for type parameters (see #2810)Alex Burka-5/+7
When deriving Hash, RustcEncodable and RustcDecodable, the syntax extension needs a type parameter to use in the inner method. They used to use __H, __S and __D respectively. If this conflicts with a type parameter already declared for the item, bad times result (see the test). There is no hygiene for type parameters, but this commit introduces a better heuristic by concatenating the names of all extant type parameters (and prepending __H).
2016-02-11[breaking-change] don't glob export ast::Mutablity variantsOliver 'ker' Schneider-2/+2
2015-12-15Move built-in syntax extensions to a separate crateSeo Sanghyeon-0/+224