pub static UNUSED_LABELS: &Lint
Expand description

The unused_labels lint detects labels that are never used.

Example

'unused_label: loop {}

{{produces}}

Explanation

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:.