File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -6282,9 +6282,10 @@ impl<'a> Parser<'a> {
6282
6282
self . parse_single_struct_field ( lo, vis, attrs)
6283
6283
}
6284
6284
6285
- /// Parse `pub`, `pub(crate)` and `pub(in path)` plus shortcuts `crate` for `pub(crate)`, `pub(self)` for `pub(in self)`
6286
- /// and `pub(super)` for `pub(in super)`. If the following element can't be a tuple (i.e. it's
6287
- /// a function definition, it's not a tuple struct field) and the contents within the parens
6285
+ /// Parse `pub`, `pub(crate)` and `pub(in path)` plus shortcuts `crate` for `pub(crate)`,
6286
+ /// `pub(self)` for `pub(in self)` and `pub(super)` for `pub(in super)`.
6287
+ /// If the following element can't be a tuple (i.e. it's a function definition,
6288
+ /// it's not a tuple struct field) and the contents within the parens
6288
6289
/// isn't valid, emit a proper diagnostic.
6289
6290
pub fn parse_visibility ( & mut self , can_take_tuple : bool ) -> PResult < ' a , Visibility > {
6290
6291
maybe_whole ! ( self , NtVis , |x| x) ;
You can’t perform that action at this time.
0 commit comments