Skip to content

Commit 099eb40

Browse files
committed
Fix code indentation
1 parent 8e7d070 commit 099eb40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

compiler/rustc_parse/src/parser/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,8 @@ impl<'a> Parser<'a> {
830830
// https://github.com/rust-lang/rust/issues/72373
831831
if self.prev_token.is_ident() && self.token.kind == token::DotDot {
832832
let msg = format!(
833-
"if you meant to bind the contents of \
834-
the rest of the array pattern into `{}`, use `@`",
833+
"if you meant to bind the contents of the rest of the array \
834+
pattern into `{}`, use `@`",
835835
pprust::token_to_string(&self.prev_token)
836836
);
837837
expect_err

tests/ui/parser/recover/recover-parens-around-match-arm-head.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ fn main() {
1111
_ => 0u8,
1212
};
1313
let _y: u32 = x; //~ ERROR mismatched types
14-
}
14+
}

0 commit comments

Comments
 (0)