diff options
| author | Max Niederman <max@maxniederman.com> | 2024-08-22 22:05:48 -0700 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-11-24 18:08:20 +0100 |
| commit | 35bbc45f1651024579ff9091698684ef4a1609ca (patch) | |
| tree | 3c1857205a55037e99aab8fb78121410fc254eb4 /compiler/rustc_expand/src | |
| parent | f8e50d87368099032e2ae04a1e3c8fca9fdfeee8 (diff) | |
| download | rust-35bbc45f1651024579ff9091698684ef4a1609ca.tar.gz rust-35bbc45f1651024579ff9091698684ef4a1609ca.zip | |
refactor pat parser method names/doc-comments to agree with RFC 3637
Diffstat (limited to 'compiler/rustc_expand/src')
| -rw-r--r-- | compiler/rustc_expand/src/expand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/expand.rs b/compiler/rustc_expand/src/expand.rs index 19c2d466f7c..3b49d1b90d6 100644 --- a/compiler/rustc_expand/src/expand.rs +++ b/compiler/rustc_expand/src/expand.rs @@ -990,7 +990,7 @@ pub fn parse_ast_fragment<'a>( } } AstFragmentKind::Ty => AstFragment::Ty(this.parse_ty()?), - AstFragmentKind::Pat => AstFragment::Pat(this.parse_pat_allow_top_alt( + AstFragmentKind::Pat => AstFragment::Pat(this.parse_pat_no_top_guard( None, RecoverComma::No, RecoverColon::Yes, |
