File tree 2 files changed +0
-4
lines changed
compiler/rustc_parse/src/parser
2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -162,7 +162,6 @@ pub struct Parser<'a> {
162
162
///
163
163
/// See the comments in the `parse_path_segment` function for more details.
164
164
unmatched_angle_bracket_count : u16 ,
165
- max_angle_bracket_count : u16 ,
166
165
angle_bracket_nesting : u16 ,
167
166
168
167
last_unexpected_token_span : Option < Span > ,
@@ -430,7 +429,6 @@ impl<'a> Parser<'a> {
430
429
num_bump_calls : 0 ,
431
430
break_last_token : false ,
432
431
unmatched_angle_bracket_count : 0 ,
433
- max_angle_bracket_count : 0 ,
434
432
angle_bracket_nesting : 0 ,
435
433
last_unexpected_token_span : None ,
436
434
subparser_name,
@@ -778,7 +776,6 @@ impl<'a> Parser<'a> {
778
776
if ate {
779
777
// See doc comment for `unmatched_angle_bracket_count`.
780
778
self . unmatched_angle_bracket_count += 1 ;
781
- self . max_angle_bracket_count += 1 ;
782
779
debug ! ( "eat_lt: (increment) count={:?}" , self . unmatched_angle_bracket_count) ;
783
780
}
784
781
ate
Original file line number Diff line number Diff line change @@ -299,7 +299,6 @@ impl<'a> Parser<'a> {
299
299
// parsing a new path.
300
300
if style == PathStyle :: Expr {
301
301
self . unmatched_angle_bracket_count = 0 ;
302
- self . max_angle_bracket_count = 0 ;
303
302
}
304
303
305
304
// Generic arguments are found - `<`, `(`, `::<` or `::(`.
You can’t perform that action at this time.
0 commit comments