File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/libsyntax/parse/lexer Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ pub struct UnmatchedBrace {
4343}
4444
4545pub struct StringReader < ' a > {
46- pub sess : & ' a ParseSess ,
46+ crate sess : & ' a ParseSess ,
4747 /// The absolute offset within the source_map of the next character to read
48- pub next_pos : BytePos ,
48+ crate next_pos : BytePos ,
4949 /// The absolute offset within the source_map of the current character
50- pub pos : BytePos ,
50+ crate pos : BytePos ,
5151 /// The current character (which has been read from self.pos)
52- pub ch : Option < char > ,
53- pub source_file : Lrc < syntax_pos:: SourceFile > ,
52+ crate ch : Option < char > ,
53+ crate source_file : Lrc < syntax_pos:: SourceFile > ,
5454 /// Stop reading src at this index.
55- pub end_src_index : usize ,
55+ crate end_src_index : usize ,
5656 // cached:
5757 peek_tok : token:: Token ,
5858 peek_span : Span ,
You can’t perform that action at this time.
0 commit comments