Skip to content

1.92 regression in PyO3: unable to determine layout for ... because ... cannot be normalizedΒ #149081

@theemathas

Description

@theemathas
[INFO] [stdout] error[E0080]: unable to determine layout for `<<T as PyClassImpl>::BaseType as PyClassBaseType>::LayoutAsBase` because `<<T as PyClassImpl>::BaseType as PyClassBaseType>::LayoutAsBase` cannot be normalized
[INFO] [stdout]  --> /rustc/f3f12444a017add0468f683f3a10656d29438a05/library/core/src/mem/mod.rs:1247:26
[INFO] [stdout]   |
[INFO] [stdout]   = note: evaluation of `<pycell::impl_::PyClassObject<T> as std::mem::SizedTypeProperties>::ALIGN` failed here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0080`.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-associated-itemsArea: Associated items (types, constants & functions)A-mir-optArea: MIR optimizationsA-raw-pointersArea: raw pointers, MaybeUninit, NonNullA-trait-systemArea: Trait systemC-bugCategory: This is a bug.P-criticalCritical priorityS-has-bisectionStatus: A bisection has been found for this issueS-has-mcveStatus: A Minimal Complete and Verifiable Example has been found for this issueT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-typesRelevant to the types team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions