You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0277]: the trait bound `pyo3::ffi::PyDictObject: pyo3::type_object::PySizedLayout<pyo3::types::PyDict>` is not satisfied
1
+
error[E0277]: the trait bound `PyDictObject: PySizedLayout<PyDict>` is not satisfied
2
2
--> $DIR/abi3_nativetype_inheritance.rs:5:1
3
3
|
4
4
5 | #[pyclass(extends=PyDict)]
5
-
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `pyo3::type_object::PySizedLayout<pyo3::types::PyDict>` is not implemented for `pyo3::ffi::PyDictObject`
5
+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `PySizedLayout<PyDict>` is not implemented for `PyDictObject`
6
6
|
7
-
::: $WORKSPACE/src/type_object.rs:96:22
7
+
::: $WORKSPACE/src/type_object.rs
8
8
|
9
-
96 | type BaseLayout: PySizedLayout<Self::BaseType>;
10
-
| ----------------------------- required by this bound in `pyo3::PyTypeInfo`
9
+
| type BaseLayout: PySizedLayout<Self::BaseType>;
10
+
| ----------------------------- required by this bound in `PyTypeInfo`
11
11
|
12
-
= note: required because of the requirements on the impl of `pyo3::type_object::PySizedLayout<pyo3::types::PyDict>` for `pyo3::pycell::PyCellBase<pyo3::types::PyDict>`
12
+
= note: required because of the requirements on the impl of `PySizedLayout<PyDict>` for `PyCellBase<PyDict>`
13
13
= note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info)
0 commit comments