From a4b7ed7a42c716ab9f05e351f003d589124fd55d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:58 +0200 Subject: Adding upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- .../redundant-semi-proc-macro.stderr | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr (limited to 'src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr') diff --git a/src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr b/src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr deleted file mode 100644 index e31d14c55..000000000 --- a/src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr +++ /dev/null @@ -1,21 +0,0 @@ -TokenStream [Ident { ident: "fn", span: #0 bytes(198..200) }, Ident { ident: "span_preservation", span: #0 bytes(201..218) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(218..220) }, Group { delimiter: Brace, stream: TokenStream [Ident { ident: "let", span: #0 bytes(228..231) }, Ident { ident: "tst", span: #0 bytes(232..235) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(236..237) }, Literal { kind: Integer, symbol: "123", suffix: None, span: #0 bytes(238..241) }, Punct { ch: ';', spacing: Joint, span: #0 bytes(241..242) }, Punct { ch: ';', spacing: Alone, span: #0 bytes(242..243) }, Ident { ident: "match", span: #0 bytes(289..294) }, Ident { ident: "tst", span: #0 bytes(295..298) }, Group { delimiter: Brace, stream: TokenStream [Literal { kind: Integer, symbol: "123", suffix: None, span: #0 bytes(483..486) }, Punct { ch: '=', spacing: Joint, span: #0 bytes(487..488) }, Punct { ch: '>', spacing: Alone, span: #0 bytes(488..489) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(490..492) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(492..493) }, Ident { ident: "_", span: #0 bytes(502..503) }, Punct { ch: '=', spacing: Joint, span: #0 bytes(504..505) }, Punct { ch: '>', spacing: Alone, span: #0 bytes(505..506) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(507..509) }], span: #0 bytes(299..515) }, Punct { ch: ';', spacing: Joint, span: #0 bytes(515..516) }, Punct { ch: ';', spacing: Joint, span: #0 bytes(516..517) }, Punct { ch: ';', spacing: Alone, span: #0 bytes(517..518) }], span: #0 bytes(222..562) }] -error: unnecessary trailing semicolon - --> $DIR/redundant-semi-proc-macro.rs:9:19 - | -LL | let tst = 123;; - | ^ help: remove this semicolon - | -note: the lint level is defined here - --> $DIR/redundant-semi-proc-macro.rs:3:9 - | -LL | #![deny(redundant_semicolons)] - | ^^^^^^^^^^^^^^^^^^^^ - -error: unnecessary trailing semicolons - --> $DIR/redundant-semi-proc-macro.rs:16:7 - | -LL | };;; - | ^^ help: remove these semicolons - -error: aborting due to 2 previous errors - -- cgit v1.2.3