diff options
| author | yukang <moorekang@gmail.com> | 2023-02-22 10:30:35 +0000 |
|---|---|---|
| committer | yukang <moorekang@gmail.com> | 2023-02-28 07:57:17 +0000 |
| commit | f808877bbf8643cb9ea54a59cb5a61a631f545dd (patch) | |
| tree | fffca94dbf24ff5cbcd2752bb7b76cb363e0bae4 /compiler/rustc_parse/src/parser | |
| parent | 88de2e111504439f76315548dd3e442999b46e95 (diff) | |
| download | rust-f808877bbf8643cb9ea54a59cb5a61a631f545dd.tar.gz rust-f808877bbf8643cb9ea54a59cb5a61a631f545dd.zip | |
refactor parse_token_trees to not return unmatched_delims
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/diagnostics.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/diagnostics.rs b/compiler/rustc_parse/src/parser/diagnostics.rs index d0cf42b931b..f7a2a6d9291 100644 --- a/compiler/rustc_parse/src/parser/diagnostics.rs +++ b/compiler/rustc_parse/src/parser/diagnostics.rs @@ -19,9 +19,9 @@ use crate::errors::{ }; use crate::fluent_generated as fluent; -use rustc_ast as ast; -use crate::parser; use crate::lexer::UnmatchedDelim; +use crate::parser; +use rustc_ast as ast; use rustc_ast::ptr::P; use rustc_ast::token::{self, Delimiter, Lit, LitKind, TokenKind}; use rustc_ast::util::parser::AssocOp; |
