| 1 |
#[allow( |
| 2 |
deprecated, |
| 3 |
private_bounds, |
| 4 |
non_local_definitions, |
| 5 |
non_camel_case_types, |
| 6 |
non_upper_case_globals, |
| 7 |
non_snake_case, |
| 8 |
non_ascii_idents, |
| 9 |
clippy::missing_inline_in_public_items, |
| 10 |
)] |
| 11 |
#[deny(ambiguous_associated_items)] |
| 12 |
#[automatically_derived] |
| 13 |
const _: () = { |
| 14 |
unsafe impl ::zerocopy::TryFromBytes for Foo { |
| 15 |
fn only_derive_is_allowed_to_implement_this_trait() {} |
| 16 |
fn is_bit_valid( |
| 17 |
mut candidate: ::zerocopy::Maybe<Self>, |
| 18 |
) -> ::zerocopy::util::macro_util::core_reexport::primitive::bool { |
| 19 |
true |
| 20 |
} |
| 21 |
} |
| 22 |
}; |