Merge remote-tracking branch 'upstream/master' into rustup

This commit is contained in:
xFrednet 2022-05-20 20:37:38 +02:00
commit 4e6cf0036e
No known key found for this signature in database
GPG key ID: FCDCBF29AF64D601
241 changed files with 4457 additions and 1730 deletions

View file

@ -58,7 +58,6 @@ pub struct NewWithoutDefault {
impl_lint_pass!(NewWithoutDefault => [NEW_WITHOUT_DEFAULT]);
impl<'tcx> LateLintPass<'tcx> for NewWithoutDefault {
#[allow(clippy::too_many_lines)]
fn check_item(&mut self, cx: &LateContext<'tcx>, item: &'tcx hir::Item<'_>) {
if let hir::ItemKind::Impl(hir::Impl {
of_trait: None,