diff options
| author | The Miri Cronjob Bot <miri@cron.bot> | 2025-03-06 05:12:09 +0000 |
|---|---|---|
| committer | The Miri Cronjob Bot <miri@cron.bot> | 2025-03-06 05:12:09 +0000 |
| commit | f80cac723acf10a8f9fd05b335ed5797e4f69a1a (patch) | |
| tree | f861f7c201007112dc2f2f016855c7e0529e9cc0 /compiler/rustc_parse/src/parser/path.rs | |
| parent | 95a65704d9ed8fb175eeb1143c675e4f96e2bd40 (diff) | |
| parent | 1be80d48fa0f3fdea8dec7f05426dd619dfdf411 (diff) | |
| download | rust-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.rs | 5 |
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| { |
