about summary refs log tree commit diff
path: root/src/librustc_parse/parser/path.rs
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2020-07-23 09:34:07 -0700
committerEsteban Küber <esteban@kuber.com.ar>2020-07-23 09:35:49 -0700
commit20f4e5d9c24809031fd6631436f0a7a5b075fe40 (patch)
tree04ec2b6aa9813e7c3561310ca0e999d8838e6174 /src/librustc_parse/parser/path.rs
parent9e92106d457abd14f82adc29e7f2496861e07916 (diff)
downloadrust-20f4e5d9c24809031fd6631436f0a7a5b075fe40.tar.gz
rust-20f4e5d9c24809031fd6631436f0a7a5b075fe40.zip
Detect turbofish missing surrounding angle brackets
Diffstat (limited to 'src/librustc_parse/parser/path.rs')
-rw-r--r--src/librustc_parse/parser/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_parse/parser/path.rs b/src/librustc_parse/parser/path.rs
index 67e9b3af4a8..3dcefd36257 100644
--- a/src/librustc_parse/parser/path.rs
+++ b/src/librustc_parse/parser/path.rs
@@ -387,7 +387,7 @@ impl<'a> Parser<'a> {
 
     /// Parses (possibly empty) list of generic arguments / associated item constraints,
     /// possibly including trailing comma.
-    fn parse_angle_args(&mut self) -> PResult<'a, Vec<AngleBracketedArg>> {
+    pub(super) fn parse_angle_args(&mut self) -> PResult<'a, Vec<AngleBracketedArg>> {
         let mut args = Vec::new();
         while let Some(arg) = self.parse_angle_arg()? {
             args.push(arg);