From nobody Fri Nov 14 19:45:15 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1760044355; cv=none; d=zohomail.com; s=zohoarc; b=Gym0c/3rw3i3c/EZ0167wFCZVDI5D8BDfshJa54r2UZDAcBJ56FvFfYJaNNrNbOApqgCojr16ut3h7lIutnf44x3ETInqb49DjnPfe74BdmtC++lrvH3/CLHT8okUELlOYnGj5NkzIUv/FPkCQwYOXBK9bhygkOyPtrxHrh8mfU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1760044355; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=8vFaQq5bO3QdHThnOZntVJqWF1rUBmNHmqnUMiGjqLQ=; b=hJNb/alN6MLdFNEkndod9rr3DGUt2xF11UcSE56hbKEZN6e+VecH08z2JjwWrz+k7siCBAewLikkVopDQCeI2HTfj7b95b5Jo5khjOh1HxX7If2d9UAo9yVmWeCVYb4cvHusgkX5KBzHrW+zkBmJ6MHRS0FfAtXepnHPwIVSB5k= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1760044355184711.8555174575968; Thu, 9 Oct 2025 14:12:35 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v6xw1-0004y5-TR; Thu, 09 Oct 2025 17:12:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v6xvy-0004xh-AL for qemu-devel@nongnu.org; Thu, 09 Oct 2025 17:12:22 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v6xvp-0004jJ-JN for qemu-devel@nongnu.org; Thu, 09 Oct 2025 17:12:22 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-664-vNCGf7gKOnqOeF58G2Qoyw-1; Thu, 09 Oct 2025 17:12:11 -0400 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-41066f050a4so810281f8f.1 for ; Thu, 09 Oct 2025 14:12:11 -0700 (PDT) Received: from [192.168.10.48] ([151.49.231.162]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-426ce57d3b9sm871873f8f.11.2025.10.09.14.12.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Oct 2025 14:12:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1760044332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8vFaQq5bO3QdHThnOZntVJqWF1rUBmNHmqnUMiGjqLQ=; b=LLu2YLI7Wux2zmnsVgJakVbycIXnkZ7cDnT+Jxp0gMBlyKdfMp5UapJdvSwrh4w9zSyWlK 3LvVp3N1j16kVLj9wLywIuLtTHAwoXzPFgvwdm+jBrvhKel8lClMIDQpXmODNQJPwJGJpL T+Ot8iBVUUqUs4EGo35sR5CQL2bygJ8= X-MC-Unique: vNCGf7gKOnqOeF58G2Qoyw-1 X-Mimecast-MFC-AGG-ID: vNCGf7gKOnqOeF58G2Qoyw_1760044330 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1760044330; x=1760649130; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8vFaQq5bO3QdHThnOZntVJqWF1rUBmNHmqnUMiGjqLQ=; b=grbX4zSEQQqibCBjTQn6RmKphfnSKb/ELdo1HFnaltGGoQVK40pSOPUj1Xj4ptqv5w hR7H7Dbutv1E8uBNLUZsmjo0fyV8Jlo3/Nu88uDP7cdSY4dA58GdlMXL+9K0g07Cy3Lw IL+niQFKXhutOfykbYtlQyxiQqqNUhVJwmTv3A0vCKD+jc/ga2PJrPNXL6gO85ni2wWE XdWRfdUDiACTns4WNyzMyDsEDEmPqFrJ5T3YMDU9tRBVicOZmlFmkhz8WzqKispxKHRL nhLzPU4S0POe0jPkAiuZvipWO3PJpZUutjG1QX7wK5wCSytfHTCo6a0Fgx85xyQHirMj oRrQ== X-Gm-Message-State: AOJu0Ywbh/39EMfdBPDxkg1VOCNgcCfnj+a1Km3kolwxzYsYTkYw62aP T8WTJnOKdg/rretXURnH4ETMRTA9x9lXURV5VejKlEBAyDtc9s8JCpbJMPJxWm2zhI2nVM1nvqO hqoUjJxDL8aE3D5mrhi/i9PdP1l0rPCCBZmQTcykar7PkN6vzcJGi/TNpsHUxbq0vQ9PqkX7eZr hnbj1uaWRYbwsBicgcgm/NY21XvSC+7g7GfHcFgBhk X-Gm-Gg: ASbGncsxg+7XCytR+iEEx21khOGBnNpDlsKgQ2aNSpL1JT6f6wiMUnIgrPGcBQ7PHR2 YMiqQwmT6o+eVoj8TyaK4dhPjAldRQS7ShNaEfWnP/7PJCv7EqBkPQUof1+KaaRSatn+QWyyLT0 KBfRqNGXIzjBrrVFPhitKXvR2zZ+1dy8sG8WFczhkfrx+/O5704fVFz6jXWH5kUOoZQTSR/CmmZ 3SwQx9IkM6igOaNwlQYk/W4i8UQ5olCjTr1aNxjoMnuKfbVdIdcv/jJkZbjhL0iO6jMmEHRJezd GP4ZjjWs3gmTvPj7gOlaRO9N4UMRCH10YG3R/Mp6ov9f2vjCSyucinzbuxqRc825sD0b7i9FRqZ Z3mhn5YGPr+IMvLx4Lg4NhMsnZ6UxbYOZllT6dT2fmQXy7xuFvA== X-Received: by 2002:a5d:5f94:0:b0:40d:86d8:a180 with SMTP id ffacd0b85a97d-4266e7bf005mr6316333f8f.20.1760044329791; Thu, 09 Oct 2025 14:12:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE2YVuE57DYvf40C9YpShEV1rkDBw4MFIGfK0W8vvfGW4EFVS81w3dIV2RmFGi3s5XwGUPDBQ== X-Received: by 2002:a5d:5f94:0:b0:40d:86d8:a180 with SMTP id ffacd0b85a97d-4266e7bf005mr6316325f8f.20.1760044329407; Thu, 09 Oct 2025 14:12:09 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Cc: qemu-rust@nongnu.org, Richard Henderson Subject: [PATCH] rust: temporarily disable double_parens check Date: Thu, 9 Oct 2025 23:12:08 +0200 Message-ID: <20251009211208.643222-1-pbonzini@redhat.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=170.10.133.124; envelope-from=pbonzini@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.438, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, T_SPF_TEMPERROR=0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1760044356402116600 Content-Type: text/plain; charset="utf-8" It is showing in the output of the bits! macro and not easy to fix there (at least not without making the macro more complex). Disable it for now. Link: https://github.com/rust-lang/rust-clippy/issues/15852 Reported-by: Richard Henderson Signed-off-by: Paolo Bonzini --- rust/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 783e626802c..4f98b2c03d3 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -109,6 +109,9 @@ used_underscore_binding =3D "deny" # nice to have, but cannot be enabled yet #wildcard_imports =3D "deny" # still have many bindings::* imports =20 +# https://github.com/rust-lang/rust-clippy/issues/15852 +double_parens =3D "allow" + # these may have false positives #option_if_let_else =3D "deny" cognitive_complexity =3D "deny" --=20 2.51.0