Thread (9 messages) 9 messages, 3 authors, 2025-01-10

Re: [PATCH 3/3] rust: add `build_error!` to the prelude

From: Alice Ryhl <aliceryhl@google.com>
Date: 2024-11-25 09:15:53
Also in: linux-block, linux-patches, lkml, rust-for-linux

On Sat, Nov 23, 2024 at 11:29 PM Miguel Ojeda [off-list ref] wrote:
The sibling `build_assert!` is already in the prelude, it makes sense
that a "core"/"language" facility like this is part of the prelude and
users should not be defining their own one (thus there should be no risk
of future name collisions and we would want to be aware of them anyway).

Thus add `build_error!` into the prelude.

Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help