mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 18:53:39 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
11 lines
259 B
Plaintext
11 lines
259 B
Plaintext
error: denote infinite loops with `loop { ... }`
|
|
--> $DIR/issue-1962.rs:6:5
|
|
|
|
|
LL | 'a: while true {
|
|
| ^^^^^^^^^^^^^^ help: use `loop`
|
|
|
|
|
= note: requested on the command line with `-D while-true`
|
|
|
|
error: aborting due to 1 previous error
|
|
|