]> git.lizzy.rs Git - rust.git/blob - src/test/ui/label/label-beginning-with-underscore.rs
Merge commit '5988bbd24aa87732bfa1d111ba00bcdaa22c481a' into sync_cg_clif-2020-11-27
[rust.git] / src / test / ui / label / label-beginning-with-underscore.rs
1 // check-pass
2
3 #![deny(unused_labels)]
4
5 fn main() {
6     // `unused_label` shouldn't warn labels beginning with `_`
7     '_unused: loop {
8         break;
9     }
10 }