We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
crate
1 parent d3ed348 commit 70371fdCopy full SHA for 70371fd
src/libsyntax/parse/parser.rs
@@ -6282,7 +6282,7 @@ impl<'a> Parser<'a> {
6282
self.parse_single_struct_field(lo, vis, attrs)
6283
}
6284
6285
- /// Parse `pub`, `pub(crate)` and `pub(in path)` plus shortcuts `pub(self)` for `pub(in self)`
+ /// 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
6288
/// isn't valid, emit a proper diagnostic.
0 commit comments