pub static UNUSED_LABELS: &Lint
The unused_labels lint detects labels that are never used.
unused_labels
'unused_label: loop {}
{{produces}}
Unused labels may signal a mistake or unfinished code. To silence the warning for the individual label, prefix it with an underscore such as '_my_label:.
'_my_label: