diff options
| author | Oli Scherer <github333195615777966@oli-obk.de> | 2025-03-19 08:59:19 +0000 |
|---|---|---|
| committer | Oli Scherer <github333195615777966@oli-obk.de> | 2025-04-03 09:22:21 +0000 |
| commit | 805f389da5d8870dc19f879300684bd421194d88 (patch) | |
| tree | 78ec0ccdef27760b2e67671b04daa219d0ed4685 /compiler/rustc_session/src/config.rs | |
| parent | c51816ee59576477f79d58e633e145bec381d807 (diff) | |
| download | rust-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.rs | 2 |
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; |
