debian/rust-vendor/zerocopy-derive/src/output_tests/expected/unaligned.expected.rs
raw| 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::Unaligned for Foo { |
| 15 | fn only_derive_is_allowed_to_implement_this_trait() {} |
| 16 | } |
| 17 | }; |