diff options
| author | Alexander Regueiro <alexreg@me.com> | 2019-09-06 22:38:07 +0100 |
|---|---|---|
| committer | Alexander Regueiro <alexreg@me.com> | 2019-09-07 16:29:04 +0100 |
| commit | 553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13 (patch) | |
| tree | 92afc2f3bf4ccebb3b4cab330a93578163825a2e /src/libsyntax/parse/diagnostics.rs | |
| parent | 49d2fd1725510fd3bf6f2937e178b1aa055ddb02 (diff) | |
| download | rust-553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13.tar.gz rust-553a56dd98cee2e42fe8de0e3ad02a41a4a0eb13.zip | |
Apply suggestions from code review
Diffstat (limited to 'src/libsyntax/parse/diagnostics.rs')
| -rw-r--r-- | src/libsyntax/parse/diagnostics.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/diagnostics.rs b/src/libsyntax/parse/diagnostics.rs index 2890a8e721e..3120d0e3517 100644 --- a/src/libsyntax/parse/diagnostics.rs +++ b/src/libsyntax/parse/diagnostics.rs @@ -1086,7 +1086,7 @@ impl<'a> Parser<'a> { /// statement. This is something of a best-effort heuristic. /// /// We terminate when we find an unmatched `}` (without consuming it). - pub fn recover_stmt(&mut self) { + crate fn recover_stmt(&mut self) { self.recover_stmt_(SemiColonMode::Ignore, BlockMode::Ignore) } |
