Key the element glue on static type projections

This commit is contained in:
Dennis Kobert
2026-08-28 13:30:05 +00:00
parent d814b610da
commit c6b669fc88
8 changed files with 107 additions and 32 deletions

View File

@@ -1051,7 +1051,8 @@ mod graphene_test {
/// element-only layout for the generated node's constructor.
fn lifted<T, N>(node: N) -> (RecordLift<T, N>, Layout)
where
T: Clone + Send + Sync + 'static,
T: Clone + Send + Sync + core_types::StaticTypeSized + 'static,
<T as core_types::StaticTypeSized>::Static: Clone + Send + Sync,
N: for<'c> Node<ContextImpl<'c>, Output = T>,
{
let lift = RecordLift::<T, _>::new(node);