From 951db77267c649083374784810257dbcdb9cb941 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Mon, 13 Apr 2015 10:22:15 -0700 Subject: syntax: Publically expose printing where clauses, and add attr_to_string --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') 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 + 'b, 'a : 'b /// ``` - fn parse_where_clause(&mut self) -> PResult { + pub fn parse_where_clause(&mut self) -> PResult { let mut where_clause = WhereClause { id: ast::DUMMY_NODE_ID, predicates: Vec::new(), -- cgit 1.4.1-3-g733a5