Auto merge of #11107 - Centri3:error_impl_error, r=Jarcho

New lint [`error_impl_error`]

Closes #11101

changelog: New lint [`error_impl_error`]
This commit is contained in:
bors 2023-07-20 02:07:27 +00:00
commit d71fbb9db2
6 changed files with 226 additions and 0 deletions

View file

@ -155,6 +155,7 @@ pub(crate) static LINTS: &[&crate::LintInfo] = &[
crate::enum_variants::MODULE_INCEPTION_INFO,
crate::enum_variants::MODULE_NAME_REPETITIONS_INFO,
crate::equatable_if_let::EQUATABLE_IF_LET_INFO,
crate::error_impl_error::ERROR_IMPL_ERROR_INFO,
crate::escape::BOXED_LOCAL_INFO,
crate::eta_reduction::REDUNDANT_CLOSURE_INFO,
crate::eta_reduction::REDUNDANT_CLOSURE_FOR_METHOD_CALLS_INFO,