Searched refs:assert_eq_size (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/static-assertions-rs/tests/ |
D | eq_size.rs | 7 assert_eq_size!(u8, u8, (u8,), [u8; 1]); 21 assert_eq_size!(<Value as Trait>::AssocItem, Value); 67 assert_eq_size!([u8; 2], u16); in test_eq_size() 68 assert_eq_size!([u8; 2], u16, (u8, u8)); in test_eq_size() 69 assert_eq_size!([u8; 4], u32, (u16, u8, u8), (u16, u16)); in test_eq_size() 77 assert_eq_size!(u8, u8); in test_eq_size() 93 assert_eq_size!(u32, PanicDrop<u32>); in test_eq_size_no_drop() 94 assert_eq_size!(PanicDrop<u32>, u32); in test_eq_size_no_drop() 95 assert_eq_size!(PanicDrop<u32>, PanicDrop<u32>); in test_eq_size_no_drop()
|
/third_party/rust/crates/static-assertions-rs/src/ |
D | lib.rs | 91 mod assert_eq_size; module
|
D | assert_eq_size.rs | 34 macro_rules! assert_eq_size { macro
|
/third_party/rust/crates/static-assertions-rs/ |
D | README.md | 51 - [`assert_eq_size!`] 172 [`assert_eq_size!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.assert…
|
D | CHANGELOG.md | 139 - Allow `assert_eq_size`, `const_assert`, and `const_assert_eq` in non-function 143 - **[Breaking]** Semicolon-separated `assert_eq_size` is no longer allowed
|
/third_party/rust/crates/linux-raw-sys/src/ |
D | lib.rs | 48 static_assertions::assert_eq_size!(ctypes::c_char, libc::c_char);
|
/third_party/rust/crates/nix/src/sys/socket/ |
D | addr.rs | 44 static_assertions::assert_eq_size!(net::Ipv4Addr, libc::in_addr); in ipv4addr_to_libc() 55 static_assertions::assert_eq_size!(net::Ipv6Addr, libc::in6_addr); in ipv6addr_to_libc()
|