Currently the following macros are only available from within the context of a function:
Commits b7ca44e and f3da7e4 have somewhat resolved this.
The following macros now require labels (identifiers) unique to their namespace to be used in a non-function context:
This, along with having more assertions available (#2), would allow for a 1.0.0 release.
Currently the following macros are only available from within the context of a function:
assert_eq_size(commit f3da7e4)forget,transmute, anduninitializedas provided bycore::mem.transmuteanduninitializedare marked asunsafe, which makes it unlikely for them to becomeconst.const_assertifmem::size_ofwere aconst fn. To resolve the limitation,const_assertwould need to be resolved first.const_assert(commit b7ca44e)const_assert_eq(commit b7ca44e)const_assert, so resolving that macro would resolve this one.Commits b7ca44e and f3da7e4 have somewhat resolved this.
The following macros now require labels (identifiers) unique to their namespace to be used in a non-function context:
assert_eq_sizeassert_obj_safeassert_implconst_assertconst_assert_eqThis, along with having more assertions available (#2), would allow for a 1.0.0 release.