]> git.lizzy.rs Git - rust.git/commit
expand: Merge `expand_{bang,attr,derive}_invoc` into a single function
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Sun, 7 Jul 2019 15:55:29 +0000 (18:55 +0300)
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>
Wed, 10 Jul 2019 21:12:57 +0000 (00:12 +0300)
commitb003dd6d9badf0e66b6e90af2052fefef94d4a43
tree9484511e257ea720bff4c751c09bd769e21dcb46
parent374a80a86de4dabae4975fae04fb67cc6e6dc0bb
expand: Merge `expand_{bang,attr,derive}_invoc` into a single function

It's more convenient to have all this highly related stuff together on one screen (for future refactorings).
The `expand_invoc` function is compact enough now, after all the previous refactorings.
src/libsyntax/ext/expand.rs
src/test/ui/macros/macro-error.stderr