]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #24981 - carols10cents:remove-more-priv, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 1 May 2015 05:42:15 +0000 (11:12 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 1 May 2015 14:50:18 +0000 (20:20 +0530)
commit70020aa0665c9144f13202e13ec071f5eaf56075
tree192b47cc1faaa1d6260f943567645ebc1dfec876
parentaecf3d8b659c1f5bc457a5a146357ba484e27346
parent2fdd1b01987314c0b0fc27a3a572d452c0b29ab1
Rollup merge of #24981 - carols10cents:remove-more-priv, r=alexcrichton

Hi! While researching stuff for the reference and the grammar, I came across a few mentions of using the `priv` keyword that was removed in 0.11.0 (#13547, #8122, rust-lang/rfcs#26, [RFC 0026](https://github.com/rust-lang/rfcs/blob/master/text/0026-remove-priv.md)).

One occurrence is a mention in the reference, a few are in comments, and a few are marking test functions. I left the test that makes sure you can't name an ident `priv` since it's still a reserved keyword. I did a little grepping around for `priv `, priv in backticks, `Private` etc and I think the remaining instances are fine, but if anyone knows anywhere in particular I should check for any other lingering mentions of `priv`, please let me know and I would be happy to! :fallen_leaf: :ocean:
src/doc/reference.md
src/librustc_typeck/collect.rs
src/libsyntax/parse/parser.rs