static WHILE_TRUE: &Lint
The while_true lint detects while true { }.
while_true
while true { }
{{produces}}
while true should be replaced with loop. A loop expression is the preferred way to write an infinite loop because it more directly expresses the intent of the loop.
while true
loop