diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-09 13:19:15 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-27 16:54:12 +0100 |
| commit | 16329402bff5115135804580386ffa8a9e89f1f9 (patch) | |
| tree | 65a3229916ef3dbc779339485dd6e0e797feee15 /src/libsyntax/parse/parser | |
| parent | b7176b44a203322c834302f3b515f8c10a54f2c1 (diff) | |
| download | rust-16329402bff5115135804580386ffa8a9e89f1f9.tar.gz rust-16329402bff5115135804580386ffa8a9e89f1f9.zip | |
syntax/attr: reduce reliance on parser
Diffstat (limited to 'src/libsyntax/parse/parser')
| -rw-r--r-- | src/libsyntax/parse/parser/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/path.rs b/src/libsyntax/parse/parser/path.rs index 77709a22953..38a28224dab 100644 --- a/src/libsyntax/parse/parser/path.rs +++ b/src/libsyntax/parse/parser/path.rs @@ -130,7 +130,7 @@ impl<'a> Parser<'a> { } /// Parse a list of paths inside `#[derive(path_0, ..., path_n)]`. - crate fn parse_derive_paths(&mut self) -> PResult<'a, Vec<Path>> { + pub fn parse_derive_paths(&mut self) -> PResult<'a, Vec<Path>> { self.expect(&token::OpenDelim(token::Paren))?; let mut list = Vec::new(); while !self.eat(&token::CloseDelim(token::Paren)) { |
