File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,15 @@ pure fn lookup_cur_matched_by_matched(r: @mut TtReader,
121
121
vec:: foldl ( start, r. repeat_idx , red)
122
122
}
123
123
124
- fn lookup_cur_matched ( r : & TtReader , name : ident ) -> @named_match {
124
+ fn lookup_cur_matched ( r : @ mut TtReader , name : ident ) -> @named_match {
125
125
lookup_cur_matched_by_matched ( r, r. interpolations . get ( & name) )
126
126
}
127
127
enum lis {
128
128
lis_unconstrained, lis_constraint( uint , ident ) , lis_contradiction( ~str )
129
129
}
130
130
131
- fn lockstep_iter_size ( t : token_tree , r : & TtReader ) -> lis {
132
- fn lis_merge ( lhs : lis , rhs : lis , r : & TtReader ) -> lis {
131
+ fn lockstep_iter_size ( t : token_tree , r : @ mut TtReader ) -> lis {
132
+ fn lis_merge ( lhs : lis , rhs : lis , r : @ mut TtReader ) -> lis {
133
133
match lhs {
134
134
lis_unconstrained => rhs,
135
135
lis_contradiction( _) => lhs,
You can’t perform that action at this time.
0 commit comments