diff options
| author | bors <bors@rust-lang.org> | 2016-04-05 18:58:24 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-05 18:58:24 -0700 |
| commit | 772c600d4d6f39daa6d07d1a60ee0df3d3426978 (patch) | |
| tree | 49c3b1f52a11f6b3fa9ac7f807c684548de3035c /src/libsyntax/errors | |
| parent | 241a9d0ddf99fd40d273c615e9b1e8ce6052d94a (diff) | |
| parent | 432eb8a094322a3aa2e40c439f9b50c0d7947d61 (diff) | |
| download | rust-772c600d4d6f39daa6d07d1a60ee0df3d3426978.tar.gz rust-772c600d4d6f39daa6d07d1a60ee0df3d3426978.zip | |
Auto merge of #32688 - jseyfried:ast_groundwork_for_1422, r=pnkfelix
[breaking-batch] Add support for `pub(restricted)` syntax in the AST
This PR allows the AST to represent the `pub(restricted)` syntax from RFC 1422 (cc #32409).
More specifically, it makes `ast::Visibility` non-`Copy` and adds two new variants, `Visibility::Crate` for `pub(crate)` and `Visitibility::Restricted { path: P<Path>, id: NodeId }` for `pub(path)`.
plugin-[breaking-change] cc #31645
r? @pnkfelix
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
