rust/tests/ui/parser/issues/issue-87197-missing-semicolon.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
694 B
Plaintext
Raw Normal View History

2021-07-24 12:58:55 -05:00
error: expected `;`, found `println`
--> $DIR/issue-87197-missing-semicolon.rs:6:16
|
LL | let x = 100
| ^ help: add `;` here
LL | println!("{}", x)
| ------- unexpected token
error: expected `;`, found keyword `let`
--> $DIR/issue-87197-missing-semicolon.rs:7:22
|
LL | println!("{}", x)
| ^ help: add `;` here
LL | let y = 200
| --- unexpected token
error: expected `;`, found `println`
--> $DIR/issue-87197-missing-semicolon.rs:8:16
|
LL | let y = 200
| ^ help: add `;` here
LL | println!("{}", y);
| ------- unexpected token
error: aborting due to 3 previous errors