We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c5cf16 commit abbffdcCopy full SHA for abbffdc
enumflags_derive/src/lib.rs
@@ -135,6 +135,7 @@ fn verify_flag_values<'a>(
135
Span::call_site()); // call_site because def_site is unstable
136
// adapted from static-assertions-rs by nvzqz (MIT/Apache-2.0)
137
deferred_checks.push(quote_spanned!(variant.span() =>
138
+ #[doc(hidden)]
139
const #assertion_name: fn() = || {
140
::enumflags2::_internal::assert_exactly_one_bit_set::<[(); (
141
(#type_name::#variant_name as u64).wrapping_sub(1) &
0 commit comments