rust/tests/ui/issues/issue-37576.stderr

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

52 lines
2.0 KiB
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:3:11
2018-07-15 21:11:54 +00:00
|
LL | while break {}
| ^^^^^ unlabeled `break` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:7:22
2018-07-15 21:11:54 +00:00
|
LL | while let true = break {}
| ^^^^^ unlabeled `break` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:11:18
2018-07-15 21:11:54 +00:00
|
LL | loop { while break {} }
| ^^^^^ unlabeled `break` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:19:15
2018-07-15 21:11:54 +00:00
|
LL | while break {}
| ^^^^^ unlabeled `break` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:25:11
2018-07-15 21:11:54 +00:00
|
LL | while continue {}
| ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:29:22
2018-07-15 21:11:54 +00:00
|
LL | while let true = continue {}
| ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:33:18
2018-07-15 21:11:54 +00:00
|
LL | loop { while continue {} }
| ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
error[E0590]: `break` or `continue` with no label in the condition of a `while` loop
2018-12-25 15:56:47 +00:00
--> $DIR/issue-37576.rs:41:15
2018-07-15 21:11:54 +00:00
|
LL | while continue {}
| ^^^^^^^^ unlabeled `continue` in the condition of a `while` loop
error: aborting due to 8 previous errors
For more information about this error, try `rustc --explain E0590`.