Files
rust/tests/ui/mir/unreachable-loop-jump-threading.stderr

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

11 lines
247 B
Plaintext
Raw Normal View History

warning: denote infinite loops with `loop { ... }`
--> $DIR/unreachable-loop-jump-threading.rs:6:5
|
LL | while true {}
| ^^^^^^^^^^ help: use `loop`
|
= note: `#[warn(while_true)]` on by default
warning: 1 warning emitted