]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lint/redundant-semicolon/redundant-semi-proc-macro.stderr
New upstream version 1.40.0+dfsg1
[rustc.git] / src / test / ui / lint / redundant-semicolon / redundant-semi-proc-macro.stderr
CommitLineData
e74abb32 1TokenStream [Ident { ident: "fn", span: #0 bytes(197..199) }, Ident { ident: "span_preservation", span: #0 bytes(200..217) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(217..219) }, Group { delimiter: Brace, stream: TokenStream [Ident { ident: "let", span: #0 bytes(227..230) }, Ident { ident: "tst", span: #0 bytes(231..234) }, Punct { ch: '=', spacing: Alone, span: #0 bytes(235..236) }, Literal { lit: Lit { kind: Integer, symbol: "123", suffix: None }, span: Span { lo: BytePos(237), hi: BytePos(240), ctxt: #0 } }, Punct { ch: ';', spacing: Joint, span: #0 bytes(240..241) }, Punct { ch: ';', spacing: Alone, span: #0 bytes(241..242) }, Ident { ident: "match", span: #0 bytes(288..293) }, Ident { ident: "tst", span: #0 bytes(294..297) }, Group { delimiter: Brace, stream: TokenStream [Literal { lit: Lit { kind: Integer, symbol: "123", suffix: None }, span: Span { lo: BytePos(482), hi: BytePos(485), ctxt: #0 } }, Punct { ch: '=', spacing: Joint, span: #0 bytes(486..488) }, Punct { ch: '>', spacing: Alone, span: #0 bytes(486..488) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(489..491) }, Punct { ch: ',', spacing: Alone, span: #0 bytes(491..492) }, Ident { ident: "_", span: #0 bytes(501..502) }, Punct { ch: '=', spacing: Joint, span: #0 bytes(503..505) }, Punct { ch: '>', spacing: Alone, span: #0 bytes(503..505) }, Group { delimiter: Parenthesis, stream: TokenStream [], span: #0 bytes(506..508) }], span: #0 bytes(298..514) }, Punct { ch: ';', spacing: Joint, span: #0 bytes(514..515) }, Punct { ch: ';', spacing: Joint, span: #0 bytes(515..516) }, Punct { ch: ';', spacing: Alone, span: #0 bytes(516..517) }], span: #0 bytes(221..561) }]
e1599b0c
XL
2error: unnecessary trailing semicolon
3 --> $DIR/redundant-semi-proc-macro.rs:9:19
4 |
5LL | let tst = 123;;
6 | ^ help: remove this semicolon
7 |
8note: lint level defined here
9 --> $DIR/redundant-semi-proc-macro.rs:3:9
10 |
11LL | #![deny(redundant_semicolon)]
12 | ^^^^^^^^^^^^^^^^^^^
13
14error: unnecessary trailing semicolons
15 --> $DIR/redundant-semi-proc-macro.rs:16:7
16 |
17LL | };;;
18 | ^^ help: remove these semicolons
19
20error: aborting due to 2 previous errors
21