diff options
| author | Bart Massey <bart.massey@gmail.com> | 2019-11-12 03:21:10 -0800 |
|---|---|---|
| committer | Bart Massey <bart.massey@gmail.com> | 2019-11-15 16:31:30 -0800 |
| commit | 34a45a5309dad66025df506a388fbdf1da9afa40 (patch) | |
| tree | 7b28136435545849dd8cda65ba3cf446431cbcb6 | |
| parent | ed56f867818f7f3fb29dac3cfc0faf316909fd23 (diff) | |
| download | rust-34a45a5309dad66025df506a388fbdf1da9afa40.tar.gz rust-34a45a5309dad66025df506a388fbdf1da9afa40.zip | |
Changed unused_labels lint default from allow to warn
Closes #66324.
| -rw-r--r-- | src/librustc/lint/builtin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs index f8a592d22c1..8c556a09e1e 100644 --- a/src/librustc/lint/builtin.rs +++ b/src/librustc/lint/builtin.rs @@ -327,7 +327,7 @@ declare_lint! { declare_lint! { pub UNUSED_LABELS, - Allow, + Warn, "detects labels that are never used" } |
