about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/path.rs
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2025-03-06 05:12:09 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2025-03-06 05:12:09 +0000
commitf80cac723acf10a8f9fd05b335ed5797e4f69a1a (patch)
treef861f7c201007112dc2f2f016855c7e0529e9cc0 /compiler/rustc_parse/src/parser/path.rs
parent95a65704d9ed8fb175eeb1143c675e4f96e2bd40 (diff)
parent1be80d48fa0f3fdea8dec7f05426dd619dfdf411 (diff)
downloadrust-f80cac723acf10a8f9fd05b335ed5797e4f69a1a.tar.gz
rust-f80cac723acf10a8f9fd05b335ed5797e4f69a1a.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_parse/src/parser/path.rs')
-rw-r--r--compiler/rustc_parse/src/parser/path.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_parse/src/parser/path.rs b/compiler/rustc_parse/src/parser/path.rs
index 8091dfa2a4a..9c6830c3672 100644
--- a/compiler/rustc_parse/src/parser/path.rs
+++ b/compiler/rustc_parse/src/parser/path.rs
@@ -305,10 +305,7 @@ impl<'a> Parser<'a> {
         let is_args_start = |token: &Token| {
             matches!(
                 token.kind,
-                token::Lt
-                    | token::BinOp(token::Shl)
-                    | token::OpenDelim(Delimiter::Parenthesis)
-                    | token::LArrow
+                token::Lt | token::Shl | token::OpenDelim(Delimiter::Parenthesis) | token::LArrow
             )
         };
         let check_args_start = |this: &mut Self| {