blob: db235d473038acd1fa392792eee9a45f90846745 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
|