about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/path.rs
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-04-23 11:23:20 +0300
committerklensy <klensy@users.noreply.github.com>2024-04-23 11:23:20 +0300
commit9bd175c8a206cabbca2818d9cf509939b95301a8 (patch)
tree09473f1bede1103036008918b7c6e1f6625848e6 /compiler/rustc_parse/src/parser/path.rs
parenta77f76e26302e9a084fb321817675b1dfc1dcd63 (diff)
downloadrust-9bd175c8a206cabbca2818d9cf509939b95301a8.tar.gz
rust-9bd175c8a206cabbca2818d9cf509939b95301a8.zip
parser: remove ununsed(no reads) max_angle_bracket_count field
Diffstat (limited to 'compiler/rustc_parse/src/parser/path.rs')
-rw-r--r--compiler/rustc_parse/src/parser/path.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_parse/src/parser/path.rs b/compiler/rustc_parse/src/parser/path.rs
index 0f410772dd9..b97ec8c613d 100644
--- a/compiler/rustc_parse/src/parser/path.rs
+++ b/compiler/rustc_parse/src/parser/path.rs
@@ -299,7 +299,6 @@ impl<'a> Parser<'a> {
                 // parsing a new path.
                 if style == PathStyle::Expr {
                     self.unmatched_angle_bracket_count = 0;
-                    self.max_angle_bracket_count = 0;
                 }
 
                 // Generic arguments are found - `<`, `(`, `::<` or `::(`.