about summary refs log tree commit diff
path: root/compiler/rustc_session/src/config.rs
diff options
context:
space:
mode:
authorOli Scherer <github333195615777966@oli-obk.de>2025-03-19 08:59:19 +0000
committerOli Scherer <github333195615777966@oli-obk.de>2025-04-03 09:22:21 +0000
commit805f389da5d8870dc19f879300684bd421194d88 (patch)
tree78ec0ccdef27760b2e67671b04daa219d0ed4685 /compiler/rustc_session/src/config.rs
parentc51816ee59576477f79d58e633e145bec381d807 (diff)
downloadrust-805f389da5d8870dc19f879300684bd421194d88.tar.gz
rust-805f389da5d8870dc19f879300684bd421194d88.zip
Remove `LintExpectationId` from `Level` variants
Diffstat (limited to 'compiler/rustc_session/src/config.rs')
-rw-r--r--compiler/rustc_session/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_session/src/config.rs b/compiler/rustc_session/src/config.rs
index 1b01efda2a9..1f18950feac 100644
--- a/compiler/rustc_session/src/config.rs
+++ b/compiler/rustc_session/src/config.rs
@@ -1700,7 +1700,7 @@ pub fn get_cmd_lint_options(
     let mut lint_opts_with_position = vec![];
     let mut describe_lints = false;
 
-    for level in [lint::Allow, lint::Warn, lint::ForceWarn(None), lint::Deny, lint::Forbid] {
+    for level in [lint::Allow, lint::Warn, lint::ForceWarn, lint::Deny, lint::Forbid] {
         for (arg_pos, lint_name) in matches.opt_strs_pos(level.as_str()) {
             if lint_name == "help" {
                 describe_lints = true;