We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e7d070 commit ed1cbf7Copy full SHA for ed1cbf7
compiler/rustc_parse/src/parser/mod.rs
@@ -830,8 +830,8 @@ impl<'a> Parser<'a> {
830
// https://github.com/rust-lang/rust/issues/72373
831
if self.prev_token.is_ident() && self.token.kind == token::DotDot {
832
let msg = format!(
833
- "if you meant to bind the contents of \
834
- the rest of the array pattern into `{}`, use `@`",
+ "if you meant to bind the contents of the rest of the array \
+ pattern into `{}`, use `@`",
835
pprust::token_to_string(&self.prev_token)
836
);
837
expect_err
0 commit comments