]> git.lizzy.rs Git - rust.git/commit
Add ability to apply custom derive to union types.
authorSteve Pentland <stevepentland@gmail.com>
Tue, 1 May 2018 23:57:42 +0000 (19:57 -0400)
committerSteve Pentland <stevepentland@gmail.com>
Tue, 19 Jun 2018 01:34:11 +0000 (21:34 -0400)
commit14abb550bf676d221866e5ad5f588850d018acbf
treebee4262b4b596c163910bce96f51d3bb15e6df37
parent5230979794db209de492b3f7cc688020b72bc7c6
Add ability to apply custom derive to union types.

The Union item type has been included in the allowed types for a custom
derive. Closes #50223
src/libsyntax_ext/deriving/custom.rs
src/test/run-pass-fulldeps/proc-macro/auxiliary/derive-union.rs [new file with mode: 0644]
src/test/run-pass-fulldeps/proc-macro/derive-union.rs [new file with mode: 0644]