diff options
| author | bors <bors@rust-lang.org> | 2014-01-26 11:41:33 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-01-26 11:41:33 -0800 |
| commit | 6743c650c1649dcbb38d17fb029ed738e79ef0ae (patch) | |
| tree | 9b4bb81d4a7f82a08ede485f30a6eee9487e361c /src/libsyntax | |
| parent | 838b5a4cc072057f31453cdd1b50345f92e1a772 (diff) | |
| parent | 4d6836f418e35de76ca072092372cbd55b01867a (diff) | |
| download | rust-6743c650c1649dcbb38d17fb029ed738e79ef0ae.tar.gz rust-6743c650c1649dcbb38d17fb029ed738e79ef0ae.zip | |
auto merge of #11777 : alexcrichton/rust/issue-11522, r=pnkfelix
See #11522, but the idea is for private structs to have private fields by default, whereas public structs will continue to have public fields by default.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 557e7e04ebf..7d36d3da561 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -122,7 +122,7 @@ struct PathSegmentAndBoundSet { } /// A path paired with optional type bounds. -struct PathAndBounds { +pub struct PathAndBounds { path: ast::Path, bounds: Option<OptVec<TyParamBound>>, } |
