Nightly has begun running doctests for unexported macros as of
https://github.com/rust-lang/rust/pull/96630, which caused a doctest for
test_unpack_octets_4 which was previously ignored to be run. This broke
the CI because macros that are not exported with #[macro_export]
cannot be used from external crates (and thus cannot be doctested). This
change ignores the doctest and copies the relevant code into a unit
test.
Nightly has begun running doctests for unexported macros as of https://github.com/rust-lang/rust/pull/96630, which caused a doctest for test_unpack_octets_4 which was previously ignored to be run. This broke the CI because macros that are not exported with
#[macro_export]
cannot be used from external crates (and thus cannot be doctested). This change ignores the doctest and copies the relevant code into a unit test.