From 10ee2acdd26a7f1298c6f6d6b7af9b469fe29b87 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 14:41:41 +0200 Subject: Merging upstream version 1.70.0+dfsg2. Signed-off-by: Daniel Baumann --- extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs (limited to 'extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs') diff --git a/extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs b/extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs new file mode 100644 index 000000000..4abbd630c --- /dev/null +++ b/extra/bitflags-1.3.2/tests/compile-fail/impls/eq.rs @@ -0,0 +1,10 @@ +use bitflags::bitflags; + +bitflags! { + #[derive(PartialEq, Eq)] + struct Flags: u32 { + const A = 0b00000001; + } +} + +fn main() {} -- cgit v1.2.3