]> git.lizzy.rs Git - rust.git/commit
auto merge of #6271 : pnkfelix/rust/issue6009-condition-pub-priv-variants, r=graydon
authorbors <bors@rust-lang.org>
Tue, 7 May 2013 12:06:39 +0000 (05:06 -0700)
committerbors <bors@rust-lang.org>
Tue, 7 May 2013 12:06:39 +0000 (05:06 -0700)
commit154f3b00e0617e379d005b3aa7f41e8f1bea7bd8
tree7541808f792200353f47dc1a91e1e3ac7fcdb1b3
parent4023f54deb814529fe5be572b33e9df561ed494a
parent1cbf0a84dc9d12d4c15379537a51ad75fcb1bdcf
auto merge of #6271 : pnkfelix/rust/issue6009-condition-pub-priv-variants, r=graydon

@brson: r?  [please ignore the other one that was accidentally based off master due to back-button-bugs in github.com]

My goal is to resolve the question of whether we want to encourage (by example) consistent use of pub to make identifiers publicly-accessible, even in syntax extensions. (If people don't want that, then we can just let this pull request die.)

This is part one of two. Part two, whose contents should be clear from the FIXME's in this commit, would land after this gets incorporated into a snapshot.

(The eventual goal is to address issue #6009 , which was implied by my choice of branch name, but not mentioned in the pull request, so github did not notice it.)
src/libsyntax/ext/expand.rs