Skip to content

Commit 34a45a5

Browse files
committed
Changed unused_labels lint default from allow to warn
Closes #66324.
1 parent ed56f86 commit 34a45a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/lint/builtin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ declare_lint! {
327327

328328
declare_lint! {
329329
pub UNUSED_LABELS,
330-
Allow,
330+
Warn,
331331
"detects labels that are never used"
332332
}
333333

0 commit comments

Comments
 (0)