diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-11-06 19:56:45 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-11-16 21:54:04 +0000 |
| commit | 099eb409322acdc59fc6af6cf3a935ce6a0217f8 (patch) | |
| tree | 7004c71a07b9a3bb6eb6178a249a9a366caa332d /compiler/rustc_parse/src/parser | |
| parent | 8e7d0702a2dfc3e2fe4331af609cda9a92a4ef9b (diff) | |
| download | rust-099eb409322acdc59fc6af6cf3a935ce6a0217f8.tar.gz rust-099eb409322acdc59fc6af6cf3a935ce6a0217f8.zip | |
Fix code indentation
Diffstat (limited to 'compiler/rustc_parse/src/parser')
| -rw-r--r-- | compiler/rustc_parse/src/parser/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/parser/mod.rs b/compiler/rustc_parse/src/parser/mod.rs index 2fe70694368..833381a6503 100644 --- a/compiler/rustc_parse/src/parser/mod.rs +++ b/compiler/rustc_parse/src/parser/mod.rs @@ -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 |
