@@ -762,7 +762,6 @@ unstable_cli_options!(
762
762
git: Option <GitFeatures > = ( "Enable support for shallow git fetch operations" ) ,
763
763
gitoxide: Option <GitoxideFeatures > = ( "Use gitoxide for the given git interactions, or all of them if no argument is given" ) ,
764
764
host_config: bool = ( "Enable the `[host]` section in the .cargo/config.toml file" ) ,
765
- lints: bool = ( "Pass `[lints]` to the linting tools" ) ,
766
765
minimal_versions: bool = ( "Resolve minimal dependency versions instead of maximum" ) ,
767
766
msrv_policy: bool = ( "Enable rust-version aware policy within cargo" ) ,
768
767
mtime_on_use: bool = ( "Configure Cargo to update the mtime of used files" ) ,
@@ -853,6 +852,8 @@ const STABILIZED_CREDENTIAL_PROCESS: &str =
853
852
const STABILIZED_REGISTRY_AUTH : & str =
854
853
"Authenticated registries are available if a credential provider is configured." ;
855
854
855
+ const STABILIZED_LINTS : & str = "The `[lints]` table is now always available." ;
856
+
856
857
fn deserialize_build_std < ' de , D > ( deserializer : D ) -> Result < Option < Vec < String > > , D :: Error >
857
858
where
858
859
D : serde:: Deserializer < ' de > ,
@@ -1105,6 +1106,7 @@ impl CliUnstable {
1105
1106
"terminal-width" => stabilized_warn ( k, "1.68" , STABILIZED_TERMINAL_WIDTH ) ,
1106
1107
"doctest-in-workspace" => stabilized_warn ( k, "1.72" , STABILIZED_DOCTEST_IN_WORKSPACE ) ,
1107
1108
"credential-process" => stabilized_warn ( k, "1.74" , STABILIZED_CREDENTIAL_PROCESS ) ,
1109
+ "lints" => stabilized_warn ( k, "1.74" , STABILIZED_LINTS ) ,
1108
1110
"registry-auth" => stabilized_warn ( k, "1.74" , STABILIZED_REGISTRY_AUTH ) ,
1109
1111
1110
1112
// Unstable features
@@ -1141,7 +1143,6 @@ impl CliUnstable {
1141
1143
) ?
1142
1144
}
1143
1145
"host-config" => self . host_config = parse_empty ( k, v) ?,
1144
- "lints" => self . lints = parse_empty ( k, v) ?,
1145
1146
"next-lockfile-bump" => self . next_lockfile_bump = parse_empty ( k, v) ?,
1146
1147
"minimal-versions" => self . minimal_versions = parse_empty ( k, v) ?,
1147
1148
"msrv-policy" => self . msrv_policy = parse_empty ( k, v) ?,
0 commit comments