]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/parse/parser/path.rs
Rollup merge of #65792 - Centril:split-syntax-2, r=petrochenkov
[rust.git] / src / libsyntax / parse / parser / path.rs
index 77709a2295339fb5ac5765852f451004090fac45..38a28224daba44d5c028aed686a5421f92e38f56 100644 (file)
@@ -130,7 +130,7 @@ fn parse_path_allowing_meta(&mut self, style: PathStyle) -> PResult<'a, Path> {
     }
 
     /// 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)) {