@@ -132,7 +132,7 @@ pub struct Parser<'a> {
132
132
/// into modules, and sub-parsers have new values for this name.
133
133
pub root_module_name : Option < String > ,
134
134
crate expected_tokens : Vec < TokenType > ,
135
- crate token_cursor : TokenCursor ,
135
+ token_cursor : TokenCursor ,
136
136
desugar_doc_comments : bool ,
137
137
/// `true` we should configure out of line modules as we parse.
138
138
pub cfg_mods : bool ,
@@ -161,19 +161,19 @@ impl<'a> Drop for Parser<'a> {
161
161
}
162
162
163
163
#[ derive( Clone ) ]
164
- crate struct TokenCursor {
165
- crate frame : TokenCursorFrame ,
166
- crate stack : Vec < TokenCursorFrame > ,
164
+ struct TokenCursor {
165
+ frame : TokenCursorFrame ,
166
+ stack : Vec < TokenCursorFrame > ,
167
167
}
168
168
169
169
#[ derive( Clone ) ]
170
- crate struct TokenCursorFrame {
171
- crate delim : token:: DelimToken ,
172
- crate span : DelimSpan ,
173
- crate open_delim : bool ,
174
- crate tree_cursor : tokenstream:: Cursor ,
175
- crate close_delim : bool ,
176
- crate last_token : LastToken ,
170
+ struct TokenCursorFrame {
171
+ delim : token:: DelimToken ,
172
+ span : DelimSpan ,
173
+ open_delim : bool ,
174
+ tree_cursor : tokenstream:: Cursor ,
175
+ close_delim : bool ,
176
+ last_token : LastToken ,
177
177
}
178
178
179
179
/// This is used in `TokenCursorFrame` above to track tokens that are consumed
0 commit comments