@@ -132,7 +132,7 @@ pub struct Parser<'a> {
132132 /// into modules, and sub-parsers have new values for this name.
133133 pub root_module_name : Option < String > ,
134134 crate expected_tokens : Vec < TokenType > ,
135- crate token_cursor : TokenCursor ,
135+ token_cursor : TokenCursor ,
136136 desugar_doc_comments : bool ,
137137 /// `true` we should configure out of line modules as we parse.
138138 pub cfg_mods : bool ,
@@ -161,19 +161,19 @@ impl<'a> Drop for Parser<'a> {
161161}
162162
163163#[ 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 > ,
167167}
168168
169169#[ 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 ,
177177}
178178
179179/// This is used in `TokenCursorFrame` above to track tokens that are consumed
0 commit comments