]> git.lizzy.rs Git - rust.git/commit
derive: remove most __ strings FIXME(#2810)
authorAlex Burka <aburka@seas.upenn.edu>
Tue, 8 Mar 2016 00:07:06 +0000 (19:07 -0500)
committerAlex Burka <aburka@seas.upenn.edu>
Mon, 14 Mar 2016 20:49:18 +0000 (16:49 -0400)
commitfd4fa62885d7b7319a7cf88e834fa1016ac9ae5c
tree32cd52dc4ad079cb4ce80e84e7fbe388708f2fa4
parent4982f913461a2a6dfbac8bace53961233322646a
derive: remove most __ strings FIXME(#2810)

This changes local variable names in all derives to remove leading
double-underscores. As far as I can tell, this doesn't break anything
because there is no user code in these generated functions except for
struct, field and type parameter names, and this doesn't cause shadowing
of those. But I am still a bit nervous.
src/libsyntax_ext/deriving/cmp/ord.rs
src/libsyntax_ext/deriving/cmp/partial_ord.rs
src/libsyntax_ext/deriving/generic/mod.rs