Ensure correct assumptions about constants, types, and more in Rust
assert_impl_any!
macro
assert_impl_one!
macro
assert_trait_sub_all!
macro
assert_trait_super_all!
macro
README.md
assert_eq_size_val!
, const_assert_eq!
, and const_assert_ne!
to export
their local inner macros. Not having this prevented them from working when
use
d or called directly via static_assertions::macro!(...)
_assert_obj_safe!
from pre-1.0assert_cfg!
to last argument position, making
it consistent with other macrosmacro!(label; ...)
syntax when compiling on nightly Rust and
enabling the nightly
feature flag (read more)assert_impl
macro to ensure a type implements a given set of traitsassert_obj_safe
macro for ensuring that a trait is object-safeassert_eq_size_ptr
macroassert_eq_size
, const_assert
, and const_assert_eq
in non-function contexts via providing a unique label #1assert_eq_size
is no longer allowedconst_assert_eq
macro