diff --git a/experimental/zerotrie/tests/derive_test.rs b/experimental/zerotrie/tests/derive_test.rs index 3452a76b35b..006020e4f55 100644 --- a/experimental/zerotrie/tests/derive_test.rs +++ b/experimental/zerotrie/tests/derive_test.rs @@ -69,6 +69,22 @@ struct DeriveTest_ZeroTriePerfectHash_ZeroVec<'data> { _data: ZeroTriePerfectHash>, } +#[test] +#[ignore] // https://github.com/rust-lang/rust/issues/98906 +#[cfg(all(feature = "databake", feature = "alloc"))] +fn bake_ZeroTriePerfectHash_ZeroVec() { + use databake::*; + extern crate std; + test_bake!( + DeriveTest_ZeroTriePerfectHash_ZeroVec<'static>, + crate::DeriveTest_ZeroTriePerfectHash_ZeroVec { + _data: zerotrie::ZeroTriePerfectHash { + store: zerovec::ZeroVec::new(), + } + }, + ); +} + #[cfg_attr(feature = "yoke", derive(yoke::Yokeable))] #[cfg_attr(feature = "zerofrom", derive(zerofrom::ZeroFrom))] #[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))] @@ -77,3 +93,19 @@ struct DeriveTest_ZeroTrieExtendedCapacity_ZeroVec<'data> { #[cfg_attr(feature = "serde", serde(borrow))] _data: ZeroTrieExtendedCapacity>, } + +#[test] +#[ignore] // https://github.com/rust-lang/rust/issues/98906 +#[cfg(all(feature = "databake", feature = "alloc"))] +fn bake_ZeroTrieExtendedCapacity_ZeroVec() { + use databake::*; + extern crate std; + test_bake!( + DeriveTest_ZeroTrieExtendedCapacity_ZeroVec<'static>, + crate::DeriveTest_ZeroTrieExtendedCapacity_ZeroVec { + _data: zerotrie::ZeroTrieExtendedCapacity { + store: zerovec::ZeroVec::new(), + } + }, + ); +}