@@ -761,7 +761,6 @@ unstable_cli_options!(
761761 git: Option <GitFeatures > = ( "Enable support for shallow git fetch operations" ) ,
762762 gitoxide: Option <GitoxideFeatures > = ( "Use gitoxide for the given git interactions, or all of them if no argument is given" ) ,
763763 host_config: bool = ( "Enable the `[host]` section in the .cargo/config.toml file" ) ,
764- lints: bool = ( "Pass `[lints]` to the linting tools" ) ,
765764 minimal_versions: bool = ( "Resolve minimal dependency versions instead of maximum" ) ,
766765 msrv_policy: bool = ( "Enable rust-version aware policy within cargo" ) ,
767766 mtime_on_use: bool = ( "Configure Cargo to update the mtime of used files" ) ,
@@ -852,6 +851,8 @@ const STABILIZED_CREDENTIAL_PROCESS: &str =
852851const STABILIZED_REGISTRY_AUTH : & str =
853852 "Authenticated registries are available if a credential provider is configured." ;
854853
854+ const STABILIZED_LINTS : & str = "The `[lints]` table is now always available." ;
855+
855856fn deserialize_build_std < ' de , D > ( deserializer : D ) -> Result < Option < Vec < String > > , D :: Error >
856857where
857858 D : serde:: Deserializer < ' de > ,
@@ -1104,6 +1105,7 @@ impl CliUnstable {
11041105 "terminal-width" => stabilized_warn ( k, "1.68" , STABILIZED_TERMINAL_WIDTH ) ,
11051106 "doctest-in-workspace" => stabilized_warn ( k, "1.72" , STABILIZED_DOCTEST_IN_WORKSPACE ) ,
11061107 "credential-process" => stabilized_warn ( k, "1.74" , STABILIZED_CREDENTIAL_PROCESS ) ,
1108+ "lints" => stabilized_warn ( k, "1.74" , STABILIZED_LINTS ) ,
11071109 "registry-auth" => stabilized_warn ( k, "1.74" , STABILIZED_REGISTRY_AUTH ) ,
11081110
11091111 // Unstable features
@@ -1139,7 +1141,6 @@ impl CliUnstable {
11391141 ) ?
11401142 }
11411143 "host-config" => self . host_config = parse_empty ( k, v) ?,
1142- "lints" => self . lints = parse_empty ( k, v) ?,
11431144 "next-lockfile-bump" => self . next_lockfile_bump = parse_empty ( k, v) ?,
11441145 "minimal-versions" => self . minimal_versions = parse_empty ( k, v) ?,
11451146 "msrv-policy" => self . msrv_policy = parse_empty ( k, v) ?,
0 commit comments