rust/tests/ui/issues/issue-1962.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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