Skip to content

Commit 325f488

Browse files
committed
update
Signed-off-by: xizheyin <[email protected]>
1 parent 366d81d commit 325f488

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_parse/src/lexer/diagnostics.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ pub(super) fn report_suspicious_mismatch_block(
7171
sm: &SourceMap,
7272
delim: Delimiter,
7373
) {
74-
75-
7674
let mut matched_spans: Vec<(Span, bool)> = diag_info
7775
.matching_block_spans
7876
.iter()

compiler/rustc_parse/src/lexer/tokentrees.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ use rustc_ast::tokenstream::{DelimSpacing, DelimSpan, Spacing, TokenStream, Toke
33
use rustc_ast_pretty::pprust::token_to_string;
44
use rustc_errors::Diag;
55

6-
use super::diagnostics::{report_missing_open_delim, report_suspicious_mismatch_block, same_indentation_level};
6+
use super::diagnostics::{
7+
report_missing_open_delim, report_suspicious_mismatch_block, same_indentation_level,
8+
};
79
use super::{Lexer, UnmatchedDelim};
810

911
impl<'psess, 'src> Lexer<'psess, 'src> {

0 commit comments

Comments
 (0)