From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A3BD286D45; Wed, 11 Jun 2025 13:29:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749648542; cv=none; b=B0DrGeZztynpEETvXyejm6c5N2Vov4RfQmJhQPFzeIaxDXPA34n1XpEx5oyGaHFeKnCYl/6rZ166/XYmTw1xEQZpdVKuKnTYCE3S6tUsUMmGC+9FZ340SvFa5/uUp8jhZ40x2eGIazE7YpmpvQDddCtNb0MVxqd8VUknj3nJM0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1749648542; c=relaxed/simple; bh=RClr3x0WNuSzf2ZubOLtWGjnZaITNyNPnDjjvfXlAiE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=mnZWEN6Xq/QfdDYPBqRp1fNGp7Wzb844xl7wfe6EE0yGwHBF/c8JgdLDSV6pcvbxKlCcbmhOdrEVuP6b6+GeTg3+f5LiXbRxKdQ+R46wZWpMnmWNIG15g842cVG33S/+k+h4zx/d+lQUmJ/gw8ZSHPHg+NzNNmhXyUH0FiXXsGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hCpfIroU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hCpfIroU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75377C4CEEE; Wed, 11 Jun 2025 13:28:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1749648541; bh=RClr3x0WNuSzf2ZubOLtWGjnZaITNyNPnDjjvfXlAiE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=hCpfIroUSDomqKWzgRniCxFLoGglynZVDJ50MwjJxbeGhOkqqUQWQcJn5UowuQ07E 8nkTyV0TuzRJDSAQTpjmgpUAjQKFw/320QBultivGDJP52FKuNElnUbV9DRvjMITyH Q1FWnHRgHsxODGZqXgU3ihX6fKMz/6USBfa2srVfnEc51jYdtCAlDGmBHxOn1axdpM wzmp5KIovoiE1jXglpwbuN0cPN8eYkoSVImYg5ITC25ae+BcnxnYomdSdF24iAnFqX 9nkELSuKEZXuWbGnr5pUQmJORqabdR6FtbguEE9HPfIFt3+jI+vZvmeN2rMzBVXnk5 4Qw/WXGeXLXIA== From: Andreas Hindborg To: "Miguel Ojeda" Cc: "Benno Lossin" , "Miguel Ojeda" , "Alex Gaynor" , "Boqun Feng" , "Gary Guo" , =?utf-8?Q?Bj?= =?utf-8?Q?=C3=B6rn?= Roy Baron , "Benno Lossin" , "Alice Ryhl" , "Masahiro Yamada" , "Nathan Chancellor" , "Luis Chamberlain" , "Danilo Krummrich" , "Nicolas Schier" , "Trevor Gross" , "Adam Bratschi-Kaye" , , , , "Petr Pavlu" , "Sami Tolvanen" , "Daniel Gomez" , "Simona Vetter" , "Greg KH" , "Fiona Behrens" , "Daniel Almeida" , Subject: Re: [PATCH v12 2/3] rust: add parameter support to the `module!` macro In-Reply-To: (Miguel Ojeda's message of "Wed, 11 Jun 2025 14:36:01 +0200") References: <20250506-module-params-v3-v12-0-c04d80c8a2b1@kernel.org> <20250506-module-params-v3-v12-2-c04d80c8a2b1@kernel.org> <87plfazi13.fsf@kernel.org> <87wm9ixy8n.fsf@kernel.org> User-Agent: mu4e 1.12.9; emacs 30.1 Date: Wed, 11 Jun 2025 15:28:46 +0200 Message-ID: <87o6uuxv8x.fsf@kernel.org> Precedence: bulk X-Mailing-List: rust-for-linux@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Miguel Ojeda" writes: > On Wed, Jun 11, 2025 at 2:24=E2=80=AFPM Andreas Hindborg wrote: >> >> So either we need to `#[allow(missing_docs)]` or just add the line back.= What do you prefer? > > Do you mean if you remove the `concat!` too, right? Yes, all of it. > > It would need to be `expect`, but I think even an > `expect(missing_docs)` is not really useful vs. having some docs. > > But another question is: if the docs are not useful, should an item be > hidden to begin with? That is probably the best solution, yes. > (By the way, that one is `rustc`, not Clippy) Right. Best regards, Andreas Hindborg