Fix code indentation

This commit is contained in:
Esteban Küber 2023-11-06 19:56:45 +00:00
parent 8e7d0702a2
commit 099eb40932
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -11,4 +11,4 @@ fn main() {
_ => 0u8,
};
let _y: u32 = x; //~ ERROR mismatched types
}
}