@@ -526,6 +526,9 @@ define_Conf! {
526526 /// A list of paths to types that should be treated as if they do not contain interior mutability
527527 #[ lints( borrow_interior_mutable_const, declare_interior_mutable_const, ifs_same_cond, mutable_key_type) ]
528528 ignore_interior_mutability: Vec <String > = Vec :: from( [ "bytes::Bytes" . into( ) ] ) ,
529+ /// The maximum size of the `Err`-variant in a `Result` returned from a function
530+ #[ lints( result_large_err) ]
531+ large_error_threshold: u64 = 128 ,
529532 /// Whether to suggest reordering constructor fields when initializers are present.
530533 ///
531534 /// Warnings produced by this configuration aren't necessarily fixed by just reordering the fields. Even if the
@@ -545,10 +548,7 @@ define_Conf! {
545548 ///
546549 /// [from rust-clippy#11846]: https://github.com/rust-lang/rust-clippy/issues/11846#issuecomment-1820747924
547550 #[ lints( inconsistent_struct_constructor) ]
548- initializer_suggestions: bool = false ,
549- /// The maximum size of the `Err`-variant in a `Result` returned from a function
550- #[ lints( result_large_err) ]
551- large_error_threshold: u64 = 128 ,
551+ lint_inconsistent_struct_field_initializers: bool = false ,
552552 /// The lower bound for linting decimal literals
553553 #[ lints( decimal_literal_representation) ]
554554 literal_representation_threshold: u64 = 16384 ,
0 commit comments