about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-04-14 10:55:53 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-04-14 10:55:53 -0700
commit52067fd58fa7d450c0761fded05641274e3a8ab5 (patch)
tree3f7247c84343e4e87bb209fb17e335c0d9ec98af /src/libsyntax/parse
parent38c9e0f4bc2068b2f4518c4c67742f483a9a4fbd (diff)
parent951db77267c649083374784810257dbcdb9cb941 (diff)
downloadrust-52067fd58fa7d450c0761fded05641274e3a8ab5.tar.gz
rust-52067fd58fa7d450c0761fded05641274e3a8ab5.zip
rollup merge of #24381: erickt/cleanup
Just some minor patches I've been sitting on.
Diffstat (limited to 'src/libsyntax/parse')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index a3dd77b8197..e45b7c1df91 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -3855,7 +3855,7 @@ impl<'a> Parser<'a> {
     /// ```
     /// where T : Trait<U, V> + 'b, 'a : 'b
     /// ```
-    fn parse_where_clause(&mut self) -> PResult<ast::WhereClause> {
+    pub fn parse_where_clause(&mut self) -> PResult<ast::WhereClause> {
         let mut where_clause = WhereClause {
             id: ast::DUMMY_NODE_ID,
             predicates: Vec::new(),