Searched refs:const_assert (Results 1 – 8 of 8) sorted by relevance
7 const_assert!(true && (true != false));8 const_assert!((true && true) != false);14 const_assert!(FIVE * 2 == 10);15 const_assert!(FIVE > 2);
7 macro_rules! const_assert { macro17 const_assert!(true); in test_const_assert()22 const_assert!(true); in test_const_assert_in_const_fn()
135 pub(crate) mod const_assert; module
52 macro_rules! const_assert { macro81 const_assert!($x == $y);107 const_assert!($x != $y);
97 mod const_assert; module
65 - [`const_assert!`]79 context. Using [`const_assert!`], one can check that a string generated from85 const_assert!(DATA.len() < 512);186 [`const_assert!`]: https://docs.rs/static_assertions/1.1.0/static_assertions/macro.const_…
38 - **[breaking]** `const_assert!` macro to only take one expression74 - `const_assert!` now only takes `bool` values whereas integer (or other type)139 - Allow `assert_eq_size`, `const_assert`, and `const_assert_eq` in non-function
70 const_assert!(encoded >= 0xf001); in from_errno()