File tree 1 file changed +6
-6
lines changed
src/libsyntax/parse/lexer
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -43,16 +43,16 @@ pub struct UnmatchedBrace {
43
43
}
44
44
45
45
pub struct StringReader < ' a > {
46
- pub sess : & ' a ParseSess ,
46
+ crate sess : & ' a ParseSess ,
47
47
/// The absolute offset within the source_map of the next character to read
48
- pub next_pos : BytePos ,
48
+ crate next_pos : BytePos ,
49
49
/// The absolute offset within the source_map of the current character
50
- pub pos : BytePos ,
50
+ crate pos : BytePos ,
51
51
/// 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 > ,
54
54
/// Stop reading src at this index.
55
- pub end_src_index : usize ,
55
+ crate end_src_index : usize ,
56
56
// cached:
57
57
peek_tok : token:: Token ,
58
58
peek_span : Span ,
You can’t perform that action at this time.
0 commit comments