mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Fix code indentation
This commit is contained in:
parent
8e7d0702a2
commit
099eb40932
@ -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
|
||||
|
@ -11,4 +11,4 @@ fn main() {
|
||||
_ => 0u8,
|
||||
};
|
||||
let _y: u32 = x; //~ ERROR mismatched types
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user