mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
11 lines
314 B
Plaintext
11 lines
314 B
Plaintext
warning: denote infinite loops with `loop { ... }`
|
|
--> $DIR/unicode_3.rs:4:45
|
|
|
|
|
LL | let s = "ZͨA͑ͦ͒͋ͤ͑̚L̄͑͋Ĝͨͥ̿͒̽̈́Oͥ͛ͭ!̏"; while true { break; }
|
|
| ^^^^^^^^^^ help: use `loop`
|
|
|
|
|
= note: `#[warn(while_true)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|