@@ -526,6 +526,9 @@ define_Conf! {
526
526
/// A list of paths to types that should be treated as if they do not contain interior mutability
527
527
#[ lints( borrow_interior_mutable_const, declare_interior_mutable_const, ifs_same_cond, mutable_key_type) ]
528
528
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 ,
529
532
/// Whether to suggest reordering constructor fields when initializers are present.
530
533
///
531
534
/// Warnings produced by this configuration aren't necessarily fixed by just reordering the fields. Even if the
@@ -545,10 +548,7 @@ define_Conf! {
545
548
///
546
549
/// [from rust-clippy#11846]: https://github.com/rust-lang/rust-clippy/issues/11846#issuecomment-1820747924
547
550
#[ 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 ,
552
552
/// The lower bound for linting decimal literals
553
553
#[ lints( decimal_literal_representation) ]
554
554
literal_representation_threshold: u64 = 16384 ,
0 commit comments