Home
last modified time | relevance | path

Searched refs:assert_impl_all (Results 1 – 25 of 91) sorted by relevance

1234

/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/tests/ui-msrv/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
12 note: required by a bound in `_::{closure#0}::assert_impl_all`
15 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
16 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
17 …= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro…
22 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
30 note: required by a bound in `_::{closure#0}::assert_impl_all`
33 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
34 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
35 …= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro…
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/tests/ui-msrv/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
12 note: required by a bound in `_::{closure#0}::assert_impl_all`
15 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
16 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
17 …= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro…
22 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
30 note: required by a bound in `_::{closure#0}::assert_impl_all`
33 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
34 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all`
35 …= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro…
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/tests/
Dstruct_as_bytes.rs15 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
29 assert_impl_all!(CZst: AsBytes);
39 assert_impl_all!(C: AsBytes);
48 assert_impl_all!(Transparent: AsBytes);
57 assert_impl_all!(TransparentGeneric<u64>: AsBytes);
58 assert_impl_all!(TransparentGeneric<[u64]>: AsBytes);
64 assert_impl_all!(CZstPacked: AsBytes);
80 assert_impl_all!(CPacked: AsBytes);
92 assert_impl_all!(CPacked2: AsBytes);
106 assert_impl_all!(CPackedGeneric<u8, AU16>: AsBytes);
[all …]
Denum_as_bytes.rs11 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
21 assert_impl_all!(C: AsBytes);
29 assert_impl_all!(U8: AsBytes);
37 assert_impl_all!(U16: AsBytes);
45 assert_impl_all!(U32: AsBytes);
53 assert_impl_all!(U64: AsBytes);
61 assert_impl_all!(Usize: AsBytes);
69 assert_impl_all!(I8: AsBytes);
77 assert_impl_all!(I16: AsBytes);
85 assert_impl_all!(I32: AsBytes);
[all …]
Dstruct_unaligned.rs15 use {static_assertions::assert_impl_all, zerocopy::Unaligned};
31 assert_impl_all!(Foo: Unaligned);
39 assert_impl_all!(Bar: Unaligned);
54 assert_impl_all!(Baz: Unaligned);
62 assert_impl_all!(FooAlign: Unaligned);
70 assert_impl_all!(Unsized: Unaligned);
83 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: Unaligned);
84 assert_impl_all!(TypeParams<'static, u8, IntoIter<()>>: Unaligned);
85 assert_impl_all!(TypeParams<'static, [u8], IntoIter<()>>: Unaligned);
100 assert_impl_all!(WithParams<'static, 'static, 42, u8>: Unaligned);
Dstruct_from_zeroes.rs16 use {static_assertions::assert_impl_all, zerocopy::FromZeroes};
26 assert_impl_all!(Zst: FromZeroes);
33 assert_impl_all!(One: FromZeroes);
41 assert_impl_all!(Two: FromZeroes);
48 assert_impl_all!(Unsized: FromZeroes);
60 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromZeroes);
61 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: FromZeroes);
62 assert_impl_all!(TypeParams<'static, [AU16], IntoIter<()>>: FromZeroes);
77 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromZeroes);
Dstruct_from_bytes.rs16 static_assertions::assert_impl_all,
28 assert_impl_all!(Zst: FromBytes);
35 assert_impl_all!(One: FromBytes);
43 assert_impl_all!(Two: FromBytes);
50 assert_impl_all!(Unsized: FromBytes);
62 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromBytes);
63 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: FromBytes);
64 assert_impl_all!(TypeParams<'static, [AU16], IntoIter<()>>: FromBytes);
79 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromBytes);
Dstruct_known_layout.rs13 static_assertions::assert_impl_all,
22 assert_impl_all!(Zst: KnownLayout);
29 assert_impl_all!(One: KnownLayout);
37 assert_impl_all!(Two: KnownLayout);
49 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: KnownLayout);
50 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: KnownLayout);
65 assert_impl_all!(WithParams<'static, 'static, 42, u8>: KnownLayout);
Dunion_as_bytes.rs13 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
27 assert_impl_all!(CZst: AsBytes);
36 assert_impl_all!(C: AsBytes);
56 assert_impl_all!(CZstPacked: AsBytes);
65 assert_impl_all!(CPacked: AsBytes);
75 assert_impl_all!(CMultibytePacked: AsBytes);
Dunion_from_bytes.rs14 static_assertions::assert_impl_all,
26 assert_impl_all!(Zst: FromBytes);
33 assert_impl_all!(One: FromBytes);
41 assert_impl_all!(Two: FromBytes);
56 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromBytes);
72 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromBytes);
Dunion_known_layout.rs12 use {static_assertions::assert_impl_all, zerocopy::KnownLayout};
19 assert_impl_all!(Zst: KnownLayout);
26 assert_impl_all!(One: KnownLayout);
34 assert_impl_all!(Two: KnownLayout);
49 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: KnownLayout);
65 assert_impl_all!(WithParams<'static, 'static, 42, u8>: KnownLayout);
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/tests/
Dstruct_as_bytes.rs15 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
29 assert_impl_all!(CZst: AsBytes);
39 assert_impl_all!(C: AsBytes);
48 assert_impl_all!(Transparent: AsBytes);
57 assert_impl_all!(TransparentGeneric<u64>: AsBytes);
58 assert_impl_all!(TransparentGeneric<[u64]>: AsBytes);
64 assert_impl_all!(CZstPacked: AsBytes);
80 assert_impl_all!(CPacked: AsBytes);
92 assert_impl_all!(CPacked2: AsBytes);
106 assert_impl_all!(CPackedGeneric<u8, AU16>: AsBytes);
[all …]
Denum_as_bytes.rs11 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
21 assert_impl_all!(C: AsBytes);
29 assert_impl_all!(U8: AsBytes);
37 assert_impl_all!(U16: AsBytes);
45 assert_impl_all!(U32: AsBytes);
53 assert_impl_all!(U64: AsBytes);
61 assert_impl_all!(Usize: AsBytes);
69 assert_impl_all!(I8: AsBytes);
77 assert_impl_all!(I16: AsBytes);
85 assert_impl_all!(I32: AsBytes);
[all …]
Dstruct_unaligned.rs15 use {static_assertions::assert_impl_all, zerocopy::Unaligned};
31 assert_impl_all!(Foo: Unaligned);
39 assert_impl_all!(Bar: Unaligned);
54 assert_impl_all!(Baz: Unaligned);
62 assert_impl_all!(FooAlign: Unaligned);
70 assert_impl_all!(Unsized: Unaligned);
83 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: Unaligned);
84 assert_impl_all!(TypeParams<'static, u8, IntoIter<()>>: Unaligned);
85 assert_impl_all!(TypeParams<'static, [u8], IntoIter<()>>: Unaligned);
100 assert_impl_all!(WithParams<'static, 'static, 42, u8>: Unaligned);
Dstruct_from_zeroes.rs16 use {static_assertions::assert_impl_all, zerocopy::FromZeroes};
26 assert_impl_all!(Zst: FromZeroes);
33 assert_impl_all!(One: FromZeroes);
41 assert_impl_all!(Two: FromZeroes);
48 assert_impl_all!(Unsized: FromZeroes);
60 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromZeroes);
61 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: FromZeroes);
62 assert_impl_all!(TypeParams<'static, [AU16], IntoIter<()>>: FromZeroes);
77 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromZeroes);
Dstruct_from_bytes.rs16 static_assertions::assert_impl_all,
28 assert_impl_all!(Zst: FromBytes);
35 assert_impl_all!(One: FromBytes);
43 assert_impl_all!(Two: FromBytes);
50 assert_impl_all!(Unsized: FromBytes);
62 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromBytes);
63 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: FromBytes);
64 assert_impl_all!(TypeParams<'static, [AU16], IntoIter<()>>: FromBytes);
79 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromBytes);
Dstruct_known_layout.rs13 static_assertions::assert_impl_all,
22 assert_impl_all!(Zst: KnownLayout);
29 assert_impl_all!(One: KnownLayout);
37 assert_impl_all!(Two: KnownLayout);
49 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: KnownLayout);
50 assert_impl_all!(TypeParams<'static, AU16, IntoIter<()>>: KnownLayout);
65 assert_impl_all!(WithParams<'static, 'static, 42, u8>: KnownLayout);
Dunion_as_bytes.rs13 use {static_assertions::assert_impl_all, zerocopy::AsBytes};
27 assert_impl_all!(CZst: AsBytes);
36 assert_impl_all!(C: AsBytes);
56 assert_impl_all!(CZstPacked: AsBytes);
65 assert_impl_all!(CPacked: AsBytes);
75 assert_impl_all!(CMultibytePacked: AsBytes);
Dunion_from_bytes.rs14 static_assertions::assert_impl_all,
26 assert_impl_all!(Zst: FromBytes);
33 assert_impl_all!(One: FromBytes);
41 assert_impl_all!(Two: FromBytes);
56 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromBytes);
72 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromBytes);
Dunion_from_zeroes.rs16 use {static_assertions::assert_impl_all, zerocopy::FromZeroes};
26 assert_impl_all!(Zst: FromZeroes);
33 assert_impl_all!(One: FromZeroes);
41 assert_impl_all!(Two: FromZeroes);
56 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: FromZeroes);
72 assert_impl_all!(WithParams<'static, 'static, 42, u8>: FromZeroes);
Dunion_known_layout.rs12 use {static_assertions::assert_impl_all, zerocopy::KnownLayout};
19 assert_impl_all!(Zst: KnownLayout);
26 assert_impl_all!(One: KnownLayout);
34 assert_impl_all!(Two: KnownLayout);
49 assert_impl_all!(TypeParams<'static, (), IntoIter<()>>: KnownLayout);
65 assert_impl_all!(WithParams<'static, 'static, 42, u8>: KnownLayout);
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/tests/ui-stable/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
22 note: required by a bound in `_::{closure#0}::assert_impl_all`
25 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
26 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
27 …rive macro `FromZeroes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
32 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
50 note: required by a bound in `_::{closure#0}::assert_impl_all`
53 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
54 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
55 …erive macro `FromBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/tests/ui-nightly/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
22 note: required by a bound in `_::{closure#0}::assert_impl_all`
25 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
26 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
27 …rive macro `FromZeroes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
32 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
50 note: required by a bound in `_::{closure#0}::assert_impl_all`
53 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
54 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
55 …erive macro `FromBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
[all …]
/aosp_15_r20/external/rust/android-crates-io/extra_versions/crates/zerocopy-derive/tests/ui-nightly/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
22 note: required by a bound in `_::{closure#0}::assert_impl_all`
25 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
26 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
27 …rive macro `FromZeroes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
32 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
50 note: required by a bound in `_::{closure#0}::assert_impl_all`
53 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
54 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
55 …erive macro `FromBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/zerocopy-derive/tests/ui-stable/
Dderive_transparent.stderr4 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
22 note: required by a bound in `_::{closure#0}::assert_impl_all`
25 37 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeroes);
26 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
27 …rive macro `FromZeroes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
32 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
50 note: required by a bound in `_::{closure#0}::assert_impl_all`
53 38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
54 …^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
55 …erive macro `FromBytes` which comes from the expansion of the macro `assert_impl_all` (in Nightly …
[all …]

1234